diff options
| author | Jez Ng | 2012-08-04 13:16:14 -0700 | 
|---|---|---|
| committer | Jez Ng | 2012-08-04 13:18:26 -0700 | 
| commit | 6043f25b8dcbba3a522df4ddf59e1070fdc134e5 (patch) | |
| tree | d4ed7657f74150e0295577a13e8c7ad512024bb3 /content_scripts/vimium_frontend.coffee | |
| parent | ee8ec26a6b4f3996bd94903b435ecafd30648c2d (diff) | |
| download | vimium-6043f25b8dcbba3a522df4ddf59e1070fdc134e5.tar.bz2 | |
linkHintCss should be accessed via settings. Closes #605.
Diffstat (limited to 'content_scripts/vimium_frontend.coffee')
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 7 | 
1 files changed, 1 insertions, 6 deletions
| diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 77c9e296..21c366e9 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -19,7 +19,6 @@ isEnabledForUrl = true  # The user's operating system.  currentCompletionKeys = null  validFirstKeys = null -linkHintCss = null  activatedElement = null  # The types in <input type="..."> that we consider for focusInput command. Right now this is recalculated in @@ -46,7 +45,7 @@ settings =    values: {}    loadedValues: 0    valuesToLoad: ["scrollStepSize", "linkHintCharacters", "filterLinkHints", "hideHud", "previousPatterns", -      "nextPatterns", "findModeRawQuery"] +      "nextPatterns", "findModeRawQuery", "userDefinedLinkHintCss"]    isLoaded: false    eventListeners: {} @@ -100,9 +99,6 @@ initializePreDomReady = ->    checkIfEnabledForUrl() -  chrome.extension.sendRequest { handler: "getLinkHintCss" }, (response) -> -    linkHintCss = response.linkHintCss -    refreshCompletionKeys()    # Send the key to the key handler in the background page. @@ -1030,7 +1026,6 @@ window.onbeforeunload = ->  root = exports ? window  root.window = window  root.settings = settings -root.linkHintCss = linkHintCss  root.addCssToPage = addCssToPage  root.HUD = HUD  root.handlerStack = handlerStack | 
