1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-05 01:05:46 +01:00

Fix abbreviations.get again to survive a hasOwnProperty abbreviation.

This commit is contained in:
Doug Kearns
2011-02-01 17:48:52 +11:00
parent 6fd731299e
commit 4b06889126

View File

@@ -113,7 +113,7 @@ var Abbreviations = Module("abbreviations", {
*/
get: function (mode, lhs) {
let abbrevs = this._store[mode];
return abbrevs && abbrevs.hasOwnProperty(lhs) ? abbrevs[lhs] : null;
return abbrevs && set.has(abbrevs, lhs) ? abbrevs[lhs] : null;
},
/**