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:
@@ -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;
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user