diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2017-03-28 13:24:46 +0300 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2017-03-28 13:24:46 +0300 |
commit | df9ec9c985e79176842e4320614104827d0f6147 (patch) | |
tree | 451d3f137e3a9058424472028d7da618f9e9d97f /js | |
parent | 80d830e8d088de1f84a852d4581c11fb6d41ae51 (diff) |
properly highlight icon in header on hover/focus
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'js')
-rw-r--r-- | js/app.js | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -384,12 +384,12 @@ icon = 'notifications-new'; } this.$button.addClass('hasNotifications'); - this.$button.find('img').attr('src', OC.imagePath('notifications', icon)) - .animate({opacity: 0.5}, 600) + this.$button + .animate({opacity: 0.6}, 600) .animate({opacity: 1}, 600) - .animate({opacity: 0.5}, 600) + .animate({opacity: 0.6}, 600) .animate({opacity: 1}, 600) - .animate({opacity: 0.7}, 600); + .attr('style', ''); this.$container.find('.emptycontent').addClass('hidden'); this.$notifications.removeClass('hidden'); |