aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
authorStephen Blott2017-09-12 11:54:28 +0100
committerGitHub2017-09-12 11:54:28 +0100
commit23425118b80239b99f4d9a71727bd6ce65c8794e (patch)
tree38d7ca7bf55bc0c15d80d0908b9b2176d9c76d86 /content_scripts
parentf3b186c0228f68e15e6c8d2aad53c227efb187f4 (diff)
parent263a7c63ded6289242263601ed014fe8447876dc (diff)
downloadvimium-23425118b80239b99f4d9a71727bd6ce65c8794e.tar.bz2
Merge pull request #2637 from mrmr1993/linkhints-scaled-display-fix
Exclude Firefox from the scaled DPI fix
Diffstat (limited to 'content_scripts')
-rw-r--r--content_scripts/vimium_frontend.coffee3
1 files changed, 2 insertions, 1 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee
index dae25f5c..02bdfa2c 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -493,7 +493,8 @@ extend window,
# the page icon.
checkIfEnabledForUrl = do ->
Frame.addEventListener "isEnabledForUrl", (response) ->
- {isEnabledForUrl, passKeys, frameIsFocused} = response
+ {isEnabledForUrl, passKeys, frameIsFocused, isFirefox} = response
+ Utils.isFirefox = -> isFirefox
initializeOnEnabledStateKnown isEnabledForUrl
normalMode.setPassKeys passKeys
# Hide the HUD if we're not enabled.