Skip to content

Commit

Permalink
fix linting errs
Browse files Browse the repository at this point in the history
  • Loading branch information
ablanathtanalba committed Mar 29, 2021
1 parent 7b4d164 commit 2d89cf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/firstparties/tumblr.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// only observed links with this format out in the wild
let tumblr_links = "a[href^='https://t.umblr.com/redirect?']"
let tumblr_links = "a[href^='https://t.umblr.com/redirect?']";

// reassigns the href and scrubs link of all unnecessary attributes
function unwrapLink(a) {
Expand All @@ -10,7 +10,7 @@ function unwrapLink(a) {

for (let attr of a.attributes) {
if (!['target', 'class', 'style'].includes(attr.name)) {
a.removeAttribute(attr.name)
a.removeAttribute(attr.name);
}
}

Expand Down

0 comments on commit 2d89cf8

Please sign in to comment.