mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 17:27:57 +01:00
add missing variable declaration for thistype, thismode, thisfunc in
triggerCallBack()
This commit is contained in:
@@ -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