fixed #946 with a solution that doesn't break the links

This commit is contained in:
MrZYX 2011-03-19 21:49:59 +01:00
parent 10019bb3db
commit 25aadebf46

View file

@ -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);