diff options
| author | Stephen Blott | 2015-05-31 14:01:00 +0100 |
|---|---|---|
| committer | Stephen Blott | 2015-05-31 14:01:02 +0100 |
| commit | f44ca0ff0b7f17a280e30348fdb68daa606b1b9f (patch) | |
| tree | 59924316ba7c743b4de91a8cabc79d3381aeb667 /content_scripts/vimium_frontend.coffee | |
| parent | 32ad2e75f92084f16b8fdb7831b3577efaf63f1e (diff) | |
| download | vimium-f44ca0ff0b7f17a280e30348fdb68daa606b1b9f.tar.bz2 | |
Fix options page error.
"setIcon" should be in the list of messages delivered to the options
page (and for which there is no handler).
Diffstat (limited to 'content_scripts/vimium_frontend.coffee')
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index c8c83029..ea1f5930 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -220,7 +220,7 @@ initializePreDomReady = -> # from the former. return if sender.tab and not sender.tab.url.startsWith 'chrome-extension://' # These requests are delivered to the options page, but there are no handlers there. - return if request.handler in [ "registerFrame", "frameFocused", "unregisterFrame" ] + return if request.handler in [ "registerFrame", "frameFocused", "unregisterFrame", "setIcon" ] shouldHandleRequest = isEnabledForUrl # We always handle the message if it's one of these listed message types. shouldHandleRequest ||= request.name in [ "executePageCommand", "checkEnabledAfterURLChange" ] |
