mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-28 05:32:27 +01:00
Fix revision 8844fd390b8c.
This commit is contained in:
@@ -170,7 +170,7 @@ var Addon = Class("Addon", {
|
||||
let action = actions[cmd];
|
||||
if ("perm" in action && !(this.permissions & AddonManager["PERM_CAN_" + action.perm.toUpperCase()]))
|
||||
return false;
|
||||
if ("filter" in action && !action.filter({ item: this }))
|
||||
if ("filter" in action && !action.filter(this))
|
||||
return false;
|
||||
return true;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user