Browse Source

fixed chrome focus bug

master
Igor Zhukov 10 years ago
parent
commit
8d86017304
  1. 2
      app/js/services.js

2
app/js/services.js

@ -2393,7 +2393,7 @@ angular.module('myApp.services', []) @@ -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();

Loading…
Cancel
Save