Remove unused check for visible notification badge in notification dropdown view

This commit is contained in:
Steffen van Bergerem 2017-08-10 14:55:12 +02:00 committed by flaburgan
parent 6995ca1fe3
commit 635a5c0564

View file

@ -26,7 +26,6 @@ app.views.NotificationDropdown = app.views.Base.extend({
toggleDropdown: function(evt){
evt.stopPropagation();
if (!$("#notifications-link .entypo-bell:visible").length) { return true; }
evt.preventDefault();
if(this.dropdownShowing()){ this.hideDropdown(evt); }
else{ this.showDropdown(); }