fixed #946 with a solution that doesn't break the links
This commit is contained in:
parent
10019bb3db
commit
25aadebf46
1 changed files with 4 additions and 2 deletions
|
|
@ -204,9 +204,11 @@ var View = {
|
|||
},
|
||||
|
||||
userMenu: {
|
||||
click: function() {
|
||||
click: function(evt) {
|
||||
if(!$(View.userMenu.selector).hasClass("active")) {
|
||||
evt.preventDefault();
|
||||
}
|
||||
$(this).toggleClass("active");
|
||||
return false;
|
||||
},
|
||||
removeFocus: function(evt) {
|
||||
var $target = $(evt.target);
|
||||
|
|
|
|||
Loading…
Reference in a new issue