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