From c10adc8d328e72d835cb9127fe243a0765baa9c0 Mon Sep 17 00:00:00 2001 From: Igor Zhukov <igor.beatle@gmail.com> Date: Wed, 1 Oct 2014 15:13:50 +0400 Subject: [PATCH] Saving Chrome app window position --- app/js/background.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/js/background.js b/app/js/background.js index 89b3539b..fd1fe882 100644 --- a/app/js/background.js +++ b/app/js/background.js @@ -7,7 +7,9 @@ chrome.app.runtime.onLaunched.addListener(function(launchData) { chrome.app.window.create('../index.html', { - bounds: { + id: 'webogram-chat', + hidden: true, + innerBounds: { width: 1000, height: 700 },