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.
pull/749/head
lilia 10 years ago
parent 56341769bd
commit 82de8148d2

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

Loading…
Cancel
Save