Reload harder

Refreshing the background page does re-open the socket, but the inbox
and other windows don't reattach correctly. Reload the whole runtime to
force close all windows, reload the background, and re open the inbox.
This commit is contained in:
lilia 2015-07-08 17:40:42 -07:00
parent 56341769bd
commit 82de8148d2

View file

@ -52,9 +52,7 @@
'click': 'reloadBackgroundPage'
},
reloadBackgroundPage: function() {
extension.windows.getBackground(function(bg) {
bg.location.reload();
});
chrome.runtime.reload();
}
});