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

Allow setting empty value to some stringlist options

* eventignore
    * activate
    * newtab
    * suggestengines
    * wildoptions

Signed-off-by: Kris Maglione <maglione.k@gmail.com>
This commit is contained in:
janus_wel
2009-02-05 18:05:56 +09:00
committed by Kris Maglione
parent d99be763ec
commit 688ea844cc
2 changed files with 3 additions and 2 deletions

View File

@@ -1662,7 +1662,8 @@ function Completion() //{{{
completer = function () [["true", ""], ["false", ""]];
break;
case "stringlist":
len = newValues.pop().length;
let target = newValues.pop();
len = target ? target.length : 0;
break;
case "charlist":
len = 0;