Skip to content

Commit 91807bf

Browse files
fix: medium broke a bit
1 parent 6c71dfb commit 91807bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

medium.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// @run-at document-body
99
// @supportURL https://github.com/dylanarmstrong/userscripts/issues
1010
// @updateURL https://raw.githubusercontent.com/dylanarmstrong/userscripts/master/medium.js
11-
// @version 10
11+
// @version 11
1212
// ==/UserScript==
1313

1414
/**
@@ -194,7 +194,7 @@
194194
document.querySelectorAll('noscript').forEach(unhide);
195195

196196
// Shitty popup on click / mouseover
197-
test(() => document.querySelector('[tabindex="-1"]').parentNode.remove());
197+
test(() => document.querySelector('[tabindex="-1"]').remove());
198198
};
199199

200200
// Heh.

0 commit comments

Comments
 (0)