mirror of https://github.com/ColorlibHQ/gentelella
Merge pull request #66 from christianesperar/master
Fix menu close on touch device that is cause by having two events on the sidebarpull/70/head
commit
371bb8666d
|
@ -9,7 +9,7 @@ $(function () {
|
|||
$('#sidebar-menu li ul').slideUp();
|
||||
$('#sidebar-menu li').removeClass('active');
|
||||
|
||||
$('#sidebar-menu li').on('click touchstart', function() {
|
||||
$('#sidebar-menu li').on('click', function() {
|
||||
var link = $('a', this).attr('href');
|
||||
|
||||
if(link) {
|
||||
|
|
Loading…
Reference in New Issue