mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-16 23:02:31 +02:00
Fix possible infinite loop.
This commit is contained in:
1 parent
16b3657042
commit
9e42f55fa1
1 file changed
+1
-1
@@ -860,7 +860,7 @@ const Util = Module("Util", {
|
||||
cont = false;
|
||||
str = str.replace(resep, function (match, before) {
|
||||
results.push(before);
|
||||
cont = true;
|
||||
cont = match !== "";
|
||||
return "";
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user