aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
diff options
context:
space:
mode:
authorStephen Blott2016-04-05 15:42:54 +0100
committerStephen Blott2016-04-05 15:42:54 +0100
commitbee5ee8416be776f379beb1bf772665a19cd3fa4 (patch)
treeb6224ed602d70b7b8e034d1c90302eb8f504be67 /background_scripts
parent00446479a02bacebec7c63ae2dd7b551e8b0130e (diff)
downloadvimium-bee5ee8416be776f379beb1bf772665a19cd3fa4.tar.bz2
Frame Ids must be integers.
Diffstat (limited to 'background_scripts')
-rw-r--r--background_scripts/main.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index 62e32539..829b0abb 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -361,7 +361,7 @@ HintCoordinator =
try
port.postMessage request
catch
- @unregisterFrame tabId, frameId
+ @unregisterFrame tabId, parseInt frameId
prepareToActivateMode: (tabId, originatingFrameId, {modeIndex}) ->
@tabState[tabId] = {frameIds: frameIdsForTab[tabId][..], hintDescriptors: [], originatingFrameId, modeIndex}