mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-21 17:15:40 +02:00
Try not to break things on :rehash for users running from the repo.
This commit is contained in:
1 parent
3a3f011fc9
commit
b1e8834f3b
5 files changed
+31
-22
No files matched your search
@@ -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