diff --git a/themes/Bootstrap4/_common/menu.js b/themes/Bootstrap4/_common/menu.js index 82851dd..b63939e 100644 --- a/themes/Bootstrap4/_common/menu.js +++ b/themes/Bootstrap4/_common/menu.js @@ -77,7 +77,10 @@ $(function(){ case 'slideover': // console.log('Slide Over Menu'); - $navbar_collapse.touch(); // init jquery-touch + // init jquery-touch + + var $navbar_collapse = $('#navbar_collapse'); + $navbar_collapse.touch(); $navbar_collapse.on('show.bs.collapse', function(evt){ var set_collapse_top = function(){