Skip to content

Commit b7303a4

Browse files
committed
Fix a bug in mobile devices: Opener button
1 parent c3193d6 commit b7303a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jquery-menu-editor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,7 @@ function MenuEditor(idSelector, options) {
12461246

12471247
function TOpener(li){
12481248
var opener = $('<span>').addClass('sortableListsOpener ' + options.opener.openerClass).css(options.opener.openerCss)
1249-
.on('mousedown', function (e){
1249+
.on('mousedown touchstart', function (e){
12501250
var li = $(this).closest('li');
12511251
if (li.hasClass('sortableListsClosed')) {
12521252
li.iconOpen(options);

0 commit comments

Comments
 (0)