Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function addCssToHead(cssRules) {
- var styleElement = document.createElement('style');
- styleElement.textContent = cssRules;
- document.head.appendChild(styleElement);
- }
- var css = `#light-box-close { display: none !important;} `;
- addCssToHead(css);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement