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

Fix some :ext* completion problems in FF 3.6.

This commit is contained in:
Kris Maglione
2010-09-22 16:28:28 -04:00
parent 3bd07e77c7
commit 8cee13c9d4
2 changed files with 4 additions and 3 deletions

View File

@@ -335,7 +335,7 @@ const CompletionContext = Class("CompletionContext", {
this.lastActivated = this.top.runCount;
}
if (!this.itemCache[this.key]) {
let res = this._generate.call(this) || [];
let res = this._generate.call(this);
if (res != null)
this.itemCache[this.key] = res;
}
@@ -356,7 +356,8 @@ const CompletionContext = Class("CompletionContext", {
if (this.cache.backgroundLock != lock)
return;
this.incomplete = false;
this.completions = items;
if (items != null)
this.completions = items;
});
}
},