Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2017-03-28 13:24:46 +0300
committerJan-Christoph Borchardt <hey@jancborchardt.net>2017-03-28 13:24:46 +0300
commitdf9ec9c985e79176842e4320614104827d0f6147 (patch)
tree451d3f137e3a9058424472028d7da618f9e9d97f /js
parent80d830e8d088de1f84a852d4581c11fb6d41ae51 (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.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/app.js b/js/app.js
index adeab04..127387b 100644
--- a/js/app.js
+++ b/js/app.js
@@ -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');