diff options
| author | mrmr1993 | 2017-10-19 17:06:59 +0100 | 
|---|---|---|
| committer | mrmr1993 | 2017-10-19 17:13:21 +0100 | 
| commit | dd961bbff7ae6d7474fe1455a6999c66f77b1cb4 (patch) | |
| tree | fd5f616d04592453bbccbc28e41e1fc268ba315f | |
| parent | 701c2ab36c880276525c81b48029deb8620ec307 (diff) | |
| download | vimium-dd961bbff7ae6d7474fe1455a6999c66f77b1cb4.tar.bz2 | |
(FF android) Guard against undefined chrome.browserAction.setIcon
| -rw-r--r-- | background_scripts/main.coffee | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 2bbbd85d..725766e6 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -324,7 +324,7 @@ Frames =      enabledState = Exclusions.isEnabledForUrl request.url      if request.frameIsFocused -      chrome.browserAction.setIcon tabId: tabId, imageData: do -> +      chrome.browserAction.setIcon? tabId: tabId, imageData: do ->          enabledStateIcon =            if not enabledState.isEnabledForUrl              DISABLED_ICON | 
