Closed mikebianchini closed 9 years ago
If I remove this code from the scotchPenels.js it works:
$(function() { var scotchPanel = $('#scotch-panel').scotchPanel({ containerSelector: 'body', direction: 'right', duration: 300, transition: 'ease-in-out', clickSelector: '.toggle-panel', distanceX: '55%', enableEscapeKey: true });
$(window).resize(function() {
if ($(window).width() >= 768 && $('.scotch-panel-canvas').hasClass('scotch-is-showing')) {
scotchPanel.close();
}
});
});
Fixed it.
We use olark chat for customer support and after I added scotch-panels it stopped showing olark on our page. Site is www.municibeta.com
Hoping you could help us trouble shoot.
Olark code: