aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
diff options
context:
space:
mode:
authorStephen Blott2016-04-08 08:01:50 +0100
committerStephen Blott2016-04-08 08:01:52 +0100
commit5704688e2ab7effef701f2ac5282b3bd4e0c53c7 (patch)
treef829a39001ebf10083e945bb058b39e203e5e040 /background_scripts
parentd1c230cabb051a5429242c98e67d37b65edc58b8 (diff)
downloadvimium-5704688e2ab7effef701f2ac5282b3bd4e0c53c7.tar.bz2
Reinstate necessary test.
Reinstate test removed incorrectly in d1c230cabb051a5429242c98e67d37b65edc58b8.
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 cac35100..5c6e8e19 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -393,7 +393,7 @@ HintCoordinator =
unregisterFrame: (tabId, frameId) ->
delete @tabState[tabId]?.ports?[frameId]
# We fake "postHintDescriptors" for an unregistering frame.
- @postHintDescriptors tabId, frameId, hintDescriptors: []
+ @postHintDescriptors tabId, frameId, hintDescriptors: [] if @tabState[tabId]?.frameIds
# Port handler mapping
portHandlers =