1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-01 23:38:37 +00:00

Merge pull request #515 from haiwen/hide_group_nav_after_click

Hide group nav popup when click a group
This commit is contained in:
Daniel Pan 2015-04-25 14:40:57 +08:00
commit e68d81279c

View File

@ -26,7 +26,7 @@ define([
'click #top-nav-grp-list .item': 'visitGroup'
},
showPopup: function() {
showPopup: function(e) {
this.popup.removeClass('hide');
},
@ -43,6 +43,7 @@ define([
},
visitGroup: function(e) {
this.hidePopup(e);
location.href = $(e.currentTarget).attr('data-url');
}
});