diff --git a/dist/assets/js/scripts.js b/dist/assets/js/scripts.js index 8c145e2..77b87ef 100644 --- a/dist/assets/js/scripts.js +++ b/dist/assets/js/scripts.js @@ -203,7 +203,7 @@ $(function() { $("body").addClass("sidebar-gone"); $("body").removeClass("layout-2 layout-3 sidebar-mini sidebar-show"); - $("body").off('click').on('click', function(e) { + $("body").off('click touchend').on('click touchend', function(e) { if($(e.target).hasClass('sidebar-show') || $(e.target).hasClass('search-show')) { $("body").removeClass("sidebar-show"); $("body").addClass("sidebar-gone");