Run semistandard style formatter

This commit is contained in:
Adam 2021-07-02 19:20:21 -07:00
parent 8aa8f4ed1e
commit 6d5a47d34e

View File

@ -663,21 +663,21 @@ if (matchDomain('elmercurio.com')) {
}
} else if (matchDomain('bostonglobe.com')) {
// Remove the portion covering the paywall
const paywall = document.querySelector('div.meter-paywall')
const paywall = document.querySelector('div.meter-paywall');
if (paywall) {
removeDOMElement(paywall)
removeDOMElement(paywall);
}
// Re-enable scrolling
const body = document.querySelector('body')
const body = document.querySelector('body');
if (body) {
document.body.removeAttribute('style')
document.body.removeAttribute('style');
}
// Click the button to reveal the rest of the article
const buttonDiv = document.querySelector('[id="continue_button"]')
const buttonDiv = document.querySelector('[id="continue_button"]');
if (buttonDiv) {
const button = buttonDiv.querySelector('button')
const button = buttonDiv.querySelector('button');
if (button) {
button.click()
button.click();
}
}
}