mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-22 11:15:47 +01:00
Experimentally move commands.js and options.js to modules. Fix some bugs.
--HG-- branch : groups rename : common/content/commands.js => common/modules/commands.jsm rename : common/content/options.js => common/modules/options.jsm
This commit is contained in:
@@ -64,7 +64,7 @@ function Controller(controller) {
|
||||
}
|
||||
this.errors = [];
|
||||
this._countError = function countError(message, highlight) {
|
||||
if (/\bErrorMsg\b/.test(highlight))
|
||||
if (/\b(Error|Warning)Msg\b/.test(highlight))
|
||||
self.errors.push(String(message));
|
||||
}
|
||||
this.modules.dactyl.registerObserver("beep", this._countBeep);
|
||||
|
||||
Reference in New Issue
Block a user