diff --git a/events.js b/events.js index 2adb8f5..e9bee08 100644 --- a/events.js +++ b/events.js @@ -22,7 +22,7 @@ function getConflictRegex(g) { : i == conflict.length - 1 ? g.slice(0, i) + "[aeiou]" : null; } - conflict = "(" + conflict.join("|").replace(/\|+/, "|") + ")"; + conflict = conflict.join("|").replace(/\|+/, "|"); return conflict; } window.addEventListener("scroll", function(e) { @@ -204,4 +204,4 @@ id("clear").addEventListener("click", function() { }); id("theme").addEventListener("click", function() { setTheme(document.documentElement.className != "dark"); -}); \ No newline at end of file +});