1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 00:00:00 +00:00

[mobile] modified side-nav for touch devices

This commit is contained in:
llj
2016-11-22 14:20:08 +08:00
parent 9d31f3c3b0
commit b2a8efe654

View File

@@ -51,7 +51,14 @@ define([
'click #enable-mods': 'enableMods',
'click .js-close-side-nav': 'closeNav',
'click li > a': 'visitLink',
'click .js-about': 'showAbout'
'click .js-about': 'showAbout',
// for touch devices
'touchstart .side-nav-con': 'conTouchStart'
},
conTouchStart: function() {
this.$('.side-nav-con').css({'overflow':'auto'});
},
toggleGroupList: function() {