mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-07 15:14:11 +01:00
Fix some CPOW issues. Everything is still terrible, though.
This commit is contained in:
@@ -411,7 +411,7 @@ var Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
|
||||
function* prefs() {
|
||||
for (let pref of prefArray) {
|
||||
let userValue = services.pref.prefHasUserValue(pref);
|
||||
if (onlyNonDefault && !userValue || !pref.contains(filter))
|
||||
if (onlyNonDefault && !userValue || !pref.includes(filter))
|
||||
continue;
|
||||
|
||||
let value = this.get(pref);
|
||||
|
||||
Reference in New Issue
Block a user