mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 08:17:49 +01:00
Fix var definitions
Co-Authored-By: Tom <41207070+cimke@users.noreply.github.com>
This commit is contained in:
parent
07e6660145
commit
3339e69f6d
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ function removeDOMElement(...elements) {
|
|||
|
||||
function removeClassesByPrefix(el, prefix)
|
||||
{
|
||||
for(var i = el.classList.length - 1; i >= 0; i--) {
|
||||
for (let i = el.classList.length - 1; i >= 0; i--) {
|
||||
if(el.classList[i].startsWith(prefix)) {
|
||||
el.classList.remove(el.classList[i]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue