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:
commit
e68d81279c
@ -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');
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user