Skip to content

Commit

Permalink
Fix a bug in mobile devices: Opener button
Browse files Browse the repository at this point in the history
  • Loading branch information
davicotico committed Oct 30, 2018
1 parent c3193d6 commit b7303a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jquery-menu-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -1246,7 +1246,7 @@ function MenuEditor(idSelector, options) {

function TOpener(li){
var opener = $('<span>').addClass('sortableListsOpener ' + options.opener.openerClass).css(options.opener.openerCss)
.on('mousedown', function (e){
.on('mousedown touchstart', function (e){
var li = $(this).closest('li');
if (li.hasClass('sortableListsClosed')) {
li.iconOpen(options);
Expand Down
Loading

0 comments on commit b7303a4

Please sign in to comment.