assets/js/theme/src/all.js in kcc-gem-theme-1.38.17 vs assets/js/theme/src/all.js in kcc-gem-theme-1.38.18
- old
+ new
@@ -3,21 +3,18 @@
import walkText from './walkText.js';
import initSliders from './sliders.js';
import watchForMenuClicks from './translate.js';
import accordion from './accordion.js';
import wrapPowerText from './wrapPowerText.js';
-import start from './campusAlertsSheetsAPI.js';
-import gapiInit from './gapi.js';
//import test from './test.js';
document.addEventListener('DOMContentLoaded', function() {
wrapPowerText();
initSliders();
walkText(document.body);
footerDate();
lazyLoad();
watchForMenuClicks();
- gapiInit('client', start);
// 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;
}