From fa3e1ee94f69a46bf4dad93d7ea91fd1ccdb53e4 Mon Sep 17 00:00:00 2001 From: lilia Date: Fri, 22 May 2015 17:10:01 -0700 Subject: [PATCH] Window ids should be strings A warning is issued when a non-string window id was passed to extension.windows.focus. --- js/panel_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/panel_controller.js b/js/panel_controller.js index 0c8e62dc80d6..ef1f9e8fe9a6 100644 --- a/js/panel_controller.js +++ b/js/panel_controller.js @@ -114,7 +114,7 @@ /* Inbox window controller */ var inboxOpened = false; - var inboxWindowId = 0; + var inboxWindowId = 'inbox'; window.openInbox = function() { if (inboxOpened === false) { inboxOpened = true;