mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 00:54:12 +01:00
Fix stupid error thrown on FF36 when trying to delete a nonexistent attribute from a DOM object.
This commit is contained in:
@@ -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