mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 01:04:12 +01:00
Fix zoom level display for fractional percentages.
This commit is contained in:
@@ -31,7 +31,7 @@ var AutoCommands = Module("autocommands", {
|
||||
*/
|
||||
add: function (events, regexp, cmd) {
|
||||
events.forEach(function (event) {
|
||||
this._store.push(AutoCommand(event, Option.parse.regexplist(regexp), cmd));
|
||||
this._store.push(AutoCommand(event, Option.parse.regexplist(regexp.source || regexp), cmd));
|
||||
}, this);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user