mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-29 07:22:26 +01:00
Fix use of String#replace flags parameter.
It is deprecated. See https://bugzil.la/1142351.
This commit is contained in:
@@ -459,7 +459,7 @@ var Modes = Module("modes", {
|
||||
|
||||
get count() !this.insert,
|
||||
|
||||
_display: Class.Memoize(function _display() this.name.replace("_", " ", "g")),
|
||||
_display: Class.Memoize(function _display() this.name.replace(/_/g, " ")),
|
||||
|
||||
display: function display() this._display,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user