Przeglądaj źródła

always close the tab (fix #772)

Gildas 4 lat temu
rodzic
commit
b77469c71a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      extension/core/bg/autosave.js

+ 1 - 1
extension/core/bg/autosave.js

@@ -225,7 +225,7 @@ async function saveContent(message, tab) {
 		} finally {
 			if (message.taskId) {
 				business.onSaveEnd(message.taskId);
-			} else if (options.autoSaveDiscard && options.autoClose) {
+			} else if (options.autoClose) {
 				tabs.remove(replacedTabIds[tabId] || tabId);
 				delete replacedTabIds[tabId];
 			}