Popout inbox
Rather than opening the inbox in its own window, let it appear as a browser action popup by default, but allow promotion to its own window if requested.
This commit is contained in:
parent
cecb438a52
commit
31e7d285e3
9 changed files with 52 additions and 4 deletions
|
@ -129,6 +129,12 @@
|
|||
}
|
||||
};
|
||||
|
||||
window.popoutInbox = function() {
|
||||
chrome.browserAction.setPopup({popup: ''});
|
||||
extension.browserAction(window.openInbox);
|
||||
window.openInbox();
|
||||
};
|
||||
|
||||
// make sure windows are cleaned up on close
|
||||
extension.windows.onClosed(function (windowId) {
|
||||
if (windowMap.windowId[windowId]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue