Max Mega Menu - Version 2.2.3.4

Version Description

Download this release

Release Info

Developer megamenu
Plugin Icon 128x128 Max Mega Menu
Version 2.2.3.4
Comparing to
See all releases

Code changes from version 2.2.3.3 to 2.2.3.4

Files changed (1) hide show
  1. js/maxmegamenu.js +1 -1
js/maxmegamenu.js CHANGED
@@ -225,7 +225,7 @@
225
  */
226
  var bindClickEvents = function() {
227
  // hide menu when clicked away from
228
- $(document).on("click", function(e) {
229
  if ((plugin.settings.document_click === "collapse" ) && ! $(e.target).closest(".mega-menu li").length && plugin.isDesktopView()) {
230
  plugin.hideAllPanels();
231
  }
225
  */
226
  var bindClickEvents = function() {
227
  // hide menu when clicked away from
228
+ $(document).on("click touch", function(e) {
229
  if ((plugin.settings.document_click === "collapse" ) && ! $(e.target).closest(".mega-menu li").length && plugin.isDesktopView()) {
230
  plugin.hideAllPanels();
231
  }