Fix for inbox sometimes not reappearing
Apparently focusing an app window does not implicitly unhide it. // FREEBIE
This commit is contained in:
parent
4ee8eb4bd1
commit
bc4d31cf72
1 changed files with 1 additions and 0 deletions
|
@ -76,6 +76,7 @@
|
||||||
} else if (chrome.app.window) {
|
} else if (chrome.app.window) {
|
||||||
var appWindow = chrome.app.window.get(id);
|
var appWindow = chrome.app.window.get(id);
|
||||||
if (appWindow) {
|
if (appWindow) {
|
||||||
|
appWindow.show();
|
||||||
appWindow.focus();
|
appWindow.focus();
|
||||||
callback();
|
callback();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue