diff --git a/rhodecode/public/js/src/components/rhodecode-app/rhodecode-app.html b/rhodecode/public/js/src/components/rhodecode-app/rhodecode-app.html index 47b896ea..7606373a 100644 --- 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 index 41f6daa1..3e2d50e6 100644 --- 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 index 70064e96..0fd59bd8 100644 --- 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 @@