#3 Optimized regex

This commit is contained in:
Serraniel 2020-08-04 15:32:32 +02:00
parent 32846df782
commit bde1ce08ea
Signed by: Serraniel
GPG key ID: 3690B4E7364525D3

View file

@ -3,7 +3,7 @@ registerScript(node => {
if (isHtmlElement(node)) {
updateLanguageDisplay(node)
}
}, ".*");
}, "^/anime/[0-9]*$");
function updateLanguageDisplay(node) {