Răsfoiți Sursa

always close the tab (fix #772)

Gildas 4 ani în urmă
părinte
comite
b77469c71a
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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];
 			}