1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 22:17:59 +01:00

Text zoom level rememberization magic.

This commit is contained in:
Kris Maglione
2011-10-09 20:01:19 -04:00
parent 06135d97db
commit 40d9642cc3
3 changed files with 29 additions and 6 deletions

View File

@@ -1363,7 +1363,8 @@ var CommandLine = Module("commandline", {
*/
preview: function preview() {
this.previewClear();
if (this.wildIndex < 0 || this.suffix || !this.activeContexts.length || this.waiting)
if (this.wildIndex < 0 || this.caret < this.input.value.length
|| !this.activeContexts.length || this.waiting)
return;
let substring = "";