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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user