Add Zotero.Prefs.prefHasUserValue(pref, global)
This commit is contained in:
parent
51c70eb925
commit
590460cea4
1 changed files with 6 additions and 0 deletions
|
@ -208,6 +208,12 @@ Zotero.Prefs = new function(){
|
|||
}
|
||||
|
||||
|
||||
this.prefHasUserValue = function (pref, global) {
|
||||
pref = global ? pref : ZOTERO_CONFIG.PREF_BRANCH + pref;
|
||||
this.rootBranch.prefHasUserValue(pref);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {String[]} [exclude]
|
||||
* @param {String} [branch] - Name of pref branch, ending with a period
|
||||
|
|
Loading…
Reference in a new issue