mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-26 14:45:46 +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) {
|
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.
|
// this keypress handler gets always called first, even if e.g.
|
||||||
|
|||||||
Reference in New Issue
Block a user