From fdc612e3b5be023234743e014b9a003266de2ca3 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Mon, 10 Feb 2014 23:33:11 +0400 Subject: [PATCH] merged with master --- js/services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/services.js b/js/services.js index e21bf5e8..14a291c0 100644 --- a/js/services.js +++ b/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();