diff --git a/app/js/services.js b/app/js/services.js index e21bf5e8..14a291c0 100644 --- a/app/js/services.js +++ b/app/js/services.js @@ -2393,7 +2393,7 @@ angular.module('myApp.services', []) notification.onclick = function () { notification.close(); - if (window.chrome && chrome.app) { + if (window.chrome && chrome.app && chrome.app.window) { chrome.app.window.current().focus(); } window.focus();