assets/js/theme/src/all.js in kcc-gem-theme-1.58.36 vs assets/js/theme/src/all.js in kcc-gem-theme-1.58.37

- old
+ new

@@ -2,21 +2,19 @@ import lazyLoad from './lazyLoad.js'; import walkText from './walkText.js'; import initSliders from './sliders.js'; import watchForMenuClicks from './translate.js'; import wrapPowerText from './wrapPowerText.js'; -import ytEmbed from './ytEmbed.js'; +//import ytEmbed from './ytEmbed.js'; //import test from './test.js'; document.addEventListener('DOMContentLoaded', function() { wrapPowerText(); initSliders(); walkText(document.body); footerDate(); lazyLoad(); watchForMenuClicks(); - - document.getElementById('yt-embed') ? ytEmbed() : null; // polyfill for Element.closest() b/c IE can't handle an anchor.match() when the anchor has another element inside it (Like spans used for BS4 menu toggler) if (!Element.prototype.matches) { Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector; }