mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 01:32:31 +02:00
Use the RegExp global function rather than calling the constructor.
This commit is contained in:
1 parent
9ac029441f
commit
fbb1f33fab
4 files changed
+5
-5
No files matched your search
@@ -1003,7 +1003,7 @@ function QuickMarks() //{{{
|
||||
|
||||
remove: function remove(filter)
|
||||
{
|
||||
var pattern = new RegExp("[" + filter.replace(/\s+/g, "") + "]");
|
||||
var pattern = RegExp("[" + filter.replace(/\s+/g, "") + "]");
|
||||
|
||||
for (let [qmark,] in qmarks)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user