1
0
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:
Kris Maglione
2011-02-27 16:58:21 -05:00
parent 191ece33e0
commit 74fbc5833f
10 changed files with 159 additions and 99 deletions

View File

@@ -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;
},