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.onclick = function () {
|
||||||
notification.close();
|
notification.close();
|
||||||
if (window.chrome && chrome.app) {
|
if (window.chrome && chrome.app && chrome.app.window) {
|
||||||
chrome.app.window.current().focus();
|
chrome.app.window.current().focus();
|
||||||
}
|
}
|
||||||
window.focus();
|
window.focus();
|
||||||
|
Loading…
Reference in New Issue
Block a user