mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-10 08:04:15 +01:00
Fix possible infinite loop.
This commit is contained in:
@@ -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