fixed chrome focus bug
This commit is contained in:
parent
7b03451f52
commit
8d86017304
@ -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…
Reference in New Issue
Block a user