mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-16 21:42:30 +02:00
Fix use of String#replace flags parameter.
It is deprecated. See https://bugzil.la/1142351.
This commit is contained in:
1 parent
c0b7c4c35d
commit
34bfc2f50f
4 files changed
+4
-4
No files matched your search
@@ -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