mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-16 21:42:30 +02:00
Fix stupid error thrown on FF36 when trying to delete a nonexistent attribute from a DOM object.
This commit is contained in:
1 parent
d16c0b0d06
commit
d7fbddd945
1 file changed
+2
-1
@@ -992,7 +992,8 @@ var Events = Module("events", {
|
||||
*/
|
||||
|
||||
input: function onInput(event) {
|
||||
delete event.originalTarget.dactylKeyPress;
|
||||
if (event.originalTarget.dactylKeyPress)
|
||||
delete event.originalTarget.dactylKeyPress;
|
||||
},
|
||||
|
||||
// this keypress handler gets always called first, even if e.g.
|
||||
|
||||
Reference in new issue
Block a user