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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user