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

Try not to break things on :rehash for users running from the repo.

This commit is contained in:
Kris Maglione
2011-01-05 19:37:54 -05:00
parent 3a3f011fc9
commit b1e8834f3b
5 changed files with 31 additions and 22 deletions

View File

@@ -934,7 +934,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
* @param {number} level The logging level 0 - 15.
*/
log: function (msg, level) {
let verbose = prefs.get("extensions.dactyl.loglevel", 0);
let verbose = localPrefs.get("loglevel", 0);
if (!level || level <= verbose) {
if (isObject(msg))