mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-02 12:35:46 +01:00
Fix possible infinite loop.
This commit is contained in:
@@ -860,7 +860,7 @@ const Util = Module("Util", {
|
|||||||
cont = false;
|
cont = false;
|
||||||
str = str.replace(resep, function (match, before) {
|
str = str.replace(resep, function (match, before) {
|
||||||
results.push(before);
|
results.push(before);
|
||||||
cont = true;
|
cont = match !== "";
|
||||||
return "";
|
return "";
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user