diff options
-rw-r--r-- | speeddial.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/speeddial.js b/speeddial.js index 5d5ac9d..1b2c615 100644 --- a/speeddial.js +++ b/speeddial.js @@ -19,7 +19,10 @@ function(arg, special){
if (arg.match(/^[0-9]+$/))
arg = pref.getComplexValue("extensions.speeddial.thumbnail-" + arg + "-url", nsISupportsString).data;
- if (arg) liberator.open(arg, special ? liberator.NEW_TAB : liberator.CURRENT_TAB);
+ else
+ if (arg.length == 0)
+ arg = "chrome://speeddial/content/speeddial.xul";
+ liberator.open(arg, special ? liberator.NEW_TAB : liberator.CURRENT_TAB);
}, {
completer: function(filter) {
candidates = [];
|