Formatting

This commit is contained in:
Adam 2020-09-14 20:46:32 -07:00
parent acf454c5b7
commit 7dbd4201a9

View File

@ -418,7 +418,7 @@ if (matchDomain('elmercurio.com')) {
removeDOMElement(el);
});
// Remove Blurred Style from all matching Divs
document.getElementById("container").removeAttribute("style");
document.getElementById('container').removeAttribute('style');
document.querySelectorAll('div[style~="filter"]').forEach(function (el) {
el.removeAttribute('style');
});
@ -428,7 +428,7 @@ if (matchDomain('elmercurio.com')) {
el.removeAttribute('class');
});
}, 2000); // Delay (in milliseconds)
} else if (matchDomain("theatlantic.com")) {
} else if (matchDomain('theatlantic.com')) {
// Remove all nudge elements
document.querySelectorAll('div[class*="c-nudge"]').forEach(function (el) {
removeDOMElement(el);