1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 13:34:13 +01:00

Replace usage of getPreventDefault with defaultPrevented.

The former is now deprecated #726933.
This commit is contained in:
Doug Kearns
2013-10-30 23:12:02 +11:00
parent cf93578a84
commit ef30e3cc47
4 changed files with 5 additions and 5 deletions

View File

@@ -660,7 +660,7 @@ var Events = Module("events", {
// the command-line has focus
// TODO: ...help me...please...
keypress: function onKeyPress(event) {
event.dactylDefaultPrevented = event.getPreventDefault();
event.dactylDefaultPrevented = event.defaultPrevented;
let duringFeed = this.duringFeed || [];
this.duringFeed = [];