diff --git a/edit/edit.js b/edit/edit.js index 8b7a36f2..49f695c3 100644 --- a/edit/edit.js +++ b/edit/edit.js @@ -602,12 +602,6 @@ queryTabs({currentWindow: true}).then(tabs => { saveSizeOnClose = sessionStorageHash('saveSizeOnClose').value[windowId]; } } - chrome.tabs.onRemoved.addListener((tabId, info) => { - sessionStorageHash('manageStylesHistory').unset(tabId); - if (info.windowId === windowId && info.isWindowClosing) { - sessionStorageHash('saveSizeOnClose').unset(windowId); - } - }); }); getOwnTab().then(tab => {