diff --git a/rhodecode/public/js/src/components/rhodecode-app/rhodecode-app.html b/rhodecode/public/js/src/components/rhodecode-app/rhodecode-app.html --- a/rhodecode/public/js/src/components/rhodecode-app/rhodecode-app.html +++ b/rhodecode/public/js/src/components/rhodecode-app/rhodecode-app.html @@ -12,7 +12,6 @@ on-channelstream-subscribed="handleSubscribed"> - diff --git a/rhodecode/public/js/src/components/rhodecode-app/rhodecode-app.js b/rhodecode/public/js/src/components/rhodecode-app/rhodecode-app.js --- a/rhodecode/public/js/src/components/rhodecode-app/rhodecode-app.js +++ b/rhodecode/public/js/src/components/rhodecode-app/rhodecode-app.js @@ -25,7 +25,11 @@ var rhodeCodeApp = Polymer({ }, handleNotifications: function (data) { - this.$['notifications'].handleNotification(data); + var elem = document.getElementById('notifications'); + if(elem){ + elem.handleNotification(data); + } + }, faviconUpdate: function (data) { diff --git a/rhodecode/public/js/src/components/rhodecode-toast/rhodecode-toast.html b/rhodecode/public/js/src/components/rhodecode-toast/rhodecode-toast.html --- a/rhodecode/public/js/src/components/rhodecode-toast/rhodecode-toast.html +++ b/rhodecode/public/js/src/components/rhodecode-toast/rhodecode-toast.html @@ -5,25 +5,19 @@