Created
July 6, 2018 16:33
-
-
Save padcom/2c3536b75046b201359e44c61a986327 to your computer and use it in GitHub Desktop.
Insane code in a polyfill
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Details Element Polyfill 1.1.0 | |
Copyright © 2017 Javan Makhmali | |
*/ | |
(function() {}).call(this), | |
function() { | |
if (document.querySelector('body').getAttribute('class').indexOf('on-page-editor') > -1) { | |
return; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment