Selaa lähdekoodia

ensure auto-save is enabled when repeating auto-save

Gildas 6 vuotta sitten
vanhempi
sitoutus
b83c6eca04
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      extension/core/content/content-bootstrap.js

+ 1 - 1
extension/core/content/content-bootstrap.js

@@ -43,7 +43,7 @@ this.singlefile.extension.core.content.bootstrap = this.singlefile.extension.cor
 			await autoSavePage();
 			if (options.autoSaveRepeat) {
 				setTimeout(() => {
-					if (!autoSavingPage) {
+					if (autoSaveEnabled && !autoSavingPage) {
 						pageAutoSaved = false;
 						options.autoSaveDelay = 0;
 						onMessage(message);