mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 23:32:31 +02:00
add missing variable declaration for thistype, thismode, thisfunc in
triggerCallBack()
This commit is contained in:
1 parent
1d33d6cc33
commit
7f3f8f861b
1 file changed
+1
-1
@@ -680,7 +680,7 @@ function Vimperator()
|
||||
{
|
||||
for (i in callbacks)
|
||||
{
|
||||
[thistype, thismode, thisfunc] = callbacks[i];
|
||||
var [thistype, thismode, thisfunc] = callbacks[i];
|
||||
if (vimperator.hasMode(thismode) && type == thistype)
|
||||
return thisfunc.call(this, data);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user