diff options
author | Kris Maglione <maglione.k@gmail.com> | 2008-12-04 15:58:19 -0500 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2008-12-04 15:58:19 -0500 |
commit | b8d32c8e3d109657d9ee8cf3ce33d1daf79997e2 (patch) | |
tree | 39babfbea0cda7c3aa86a55653289b92315d2766 /common/content/ui.js | |
parent | eb11ec2b0645b3e7041dab324d71f29fdd52a24f (diff) | |
download | pentadactyl-b8d32c8e3d109657d9ee8cf3ce33d1daf79997e2.tar.gz |
Add go=r to toggle the scrollbar
Diffstat (limited to 'common/content/ui.js')
-rw-r--r-- | common/content/ui.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/content/ui.js b/common/content/ui.js index 502da223..ff01d439 100644 --- a/common/content/ui.js +++ b/common/content/ui.js @@ -232,9 +232,9 @@ function CommandLine() //{{{ this.wildtypes = this.wildmode.values; this.wildIndex = -1; - this.prefix = this.context.value.substr(0, this.start); - this.value = this.context.value.substr(this.start, this.context.caret); - this.suffix = this.context.value.substr(this.context.caret); + this.prefix = this.context.value.substring(0, this.start); + this.value = this.context.value.substring(this.start, this.caret); + this.suffix = this.context.value.substring(this.caret); if (show) { @@ -1372,7 +1372,7 @@ function CommandLine() //{{{ if (completions) { completions.context.reset(); - completions.reset(); + //completions.reset(); } historyIndex = UNINITIALIZED; removeSuffix = ""; |