1
0
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:
Kris Maglione
2012-04-19 01:16:49 -04:00
parent c4f4a30c6f
commit 17cb6a8993

View File

@@ -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;
},