Skip to content

Commit

Permalink
Corrige erro do linter
Browse files Browse the repository at this point in the history
  • Loading branch information
rodorgas committed Sep 19, 2021
1 parent 61fb58f commit 4b169bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/burlesco.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ document.addEventListener('DOMContentLoaded', function() {
var code = null;

if (/www\.economist\.com/.test(document.location.host)) {
code = 'document.cookie = "ec_limit=allow";';
code = `
code = 'document.cookie = "ec_limit=allow";';
code = `
var artBodyContainer = document.querySelector("article.article");
var artBody = artBodyContainer.innerHTML;
checkPaywall();
Expand All @@ -194,7 +194,7 @@ document.addEventListener('DOMContentLoaded', function() {
}
};
`;
}
}

else if (/ft\.com/.test(document.location.host)
&& document.querySelector('.barrier-banner')) {
Expand Down

0 comments on commit 4b169bb

Please sign in to comment.