1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-20 22:25:45 +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

@@ -149,7 +149,7 @@ var MOW = Module("mow", {
events: {
click: function onClick(event) {
if (event.getPreventDefault())
if (event.defaultPrevented)
return;
const openLink = function openLink(where) {