We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2c32da commit 5f71989Copy full SHA for 5f71989
1 file changed
Highlight Every Code/Highlight Every Code.user.js
@@ -56,7 +56,7 @@
56
};
57
58
document.addEventListener('mousedown', function(o) {
59
- document.body.removeChild(codeIcon);
+ if(codeIcon.parentNode)codeIcon.parentNode.removeChild(codeIcon);
60
});
61
document.addEventListener('mouseup', function(o) {
62
if (o.button === 0 && (o.ctrlKey || o.altKey || o.metaKey || o.shiftKey)) {
0 commit comments