mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-19 19:12:30 +02:00
More reliable Menu mode handling. Closes issue #335.
This commit is contained in:
1 parent
4d9a4b02a8
commit
525a575a72
3 files changed
+42
-12
No files matched your search
@@ -821,8 +821,8 @@ var DOM = Class("DOM", {
|
||||
};
|
||||
|
||||
opts = opts || {};
|
||||
var t = this.constructor.types[type];
|
||||
var evt = doc.createEvent((t || "HTML") + "Events");
|
||||
var t = this.constructor.types[type] || "";
|
||||
var evt = doc.createEvent(t + "Events");
|
||||
|
||||
let defaults = DEFAULTS[t || "HTML"];
|
||||
update(defaults, this.constructor.defaults[type]);
|
||||
|
||||
Reference in new issue
Block a user