1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-28 23:28:16 +02:00

Enable/disable search via about:config pref

This commit is contained in:
Artur Adib 2012-05-21 11:15:24 -04:00
parent 0bac4abcb5
commit 6cd9ae01cc
3 changed files with 10 additions and 2 deletions

View file

@ -161,6 +161,9 @@ ChromeActions.prototype = {
},
pdfBugEnabled: function() {
return getBoolPref(EXT_PREFIX + '.pdfBugEnabled', false);
},
searchEnabled: function() {
return getBoolPref(EXT_PREFIX + '.searchEnabled', false);
}
};