Browse Source

Fix incorrect placement of `preventDefault()` to prevent the event firing twice on touch devices.

pull/5548/head
Andrew Golubev 7 years ago
parent
commit
16ea9a2438
1 changed files with 1 additions and 1 deletions
  1. 2
      src/definitions/modules/dropdown.js

2
src/definitions/modules/dropdown.js

@ -1219,8 +1219,8 @@ $.fn.dropdown = function(parameters) {
});
module.animate.show(false, $subMenu);
}
event.preventDefault();
}
event.preventDefault();
}
},

Loading…
Cancel
Save