diff options
| author | Phil Crosby | 2010-01-18 00:24:18 -0800 |
|---|---|---|
| committer | Phil Crosby | 2010-01-18 00:24:18 -0800 |
| commit | 3f1cdef638d5a0fdf832788fc90776d571d47fb8 (patch) | |
| tree | c52fad803afd0dc72cab2937e14c216d019fdc3e /options.html | |
| parent | f0358dad04862e00452bfcb987d222a934e32c69 (diff) | |
| download | vimium-3f1cdef638d5a0fdf832788fc90776d571d47fb8.tar.bz2 | |
Make the characters used in link hints a user-configurable option. Fixes #66.
I'll clean up the way we store and handle default options shortly.
Diffstat (limited to 'options.html')
| -rw-r--r-- | options.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/options.html b/options.html index 06c8cb05..d5cab9c8 100644 --- a/options.html +++ b/options.html @@ -58,7 +58,7 @@ function initializeOptions() { populateOptions(); - var elements = ["scrollStepSize", "defaultZoomLevel", "excludedUrls"]; + var elements = ["scrollStepSize", "defaultZoomLevel", "excludedUrls", "linkHintCharacters"]; for (var i = 0; i < elements.length; i++) $(elements[i]).addEventListener("change", enableSaveButton, false); $("advancedOptions").addEventListener("click", openAdvancedOptions, false); @@ -71,6 +71,7 @@ localStorage["scrollStepSize"] = $("scrollStepSize").value localStorage["defaultZoomLevel"] = $("defaultZoomLevel").value localStorage["excludedUrls"] = $("excludedUrls").value; + localStorage["linkHintCharacters"] = $("linkHintCharacters").value; $("saveOptions").disabled = true; } @@ -90,6 +91,7 @@ scrollStepSize.value = "60"; defaultZoomLevel.value = "100"; excludedUrls.value = ""; + linkHintCharacters.value = "sadfjklewcmp"; $("saveOptions").disabled = true; } @@ -147,7 +149,7 @@ The characters placed next to each link after typing "F" to enter link hinting mode. </div> </div> - <input id="characterLinkHints" type="text" style="width:150px" /> + <input id="linkHintCharacters" type="text" style="width:150px" /> </td> </tr> </table> |
