Window ids should be strings
A warning is issued when a non-string window id was passed to extension.windows.focus.
This commit is contained in:
parent
7bf1d41184
commit
fa3e1ee94f
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@
|
|||
|
||||
/* Inbox window controller */
|
||||
var inboxOpened = false;
|
||||
var inboxWindowId = 0;
|
||||
var inboxWindowId = 'inbox';
|
||||
window.openInbox = function() {
|
||||
if (inboxOpened === false) {
|
||||
inboxOpened = true;
|
||||
|
|
Loading…
Reference in a new issue