mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-21 23:05:46 +01:00
Move some event-based code into observers in the modules it affects.
This commit is contained in:
@@ -273,7 +273,7 @@ var Modes = Module("modes", {
|
||||
let msg = null;
|
||||
if (options.get("showmode").getKey(this.main.name, true))
|
||||
msg = this._getModeMessage();
|
||||
if (loaded.commandline)
|
||||
if (msg || loaded.commandline)
|
||||
commandline.widgets.mode = msg || null;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user