Browse Source

revent auto-saving twice the page

Gildas 6 năm trước cách đây
mục cha
commit
f737c5abe5
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      extension/core/content/content-bootstrap.js

+ 0 - 2
extension/core/content/content-bootstrap.js

@@ -39,8 +39,6 @@ this.singlefile.extension.core.content.bootstrap = this.singlefile.extension.cor
 
 	async function onMessage(message) {
 		if (message.method == "content.autosave") {
-			autoSavingPage = false;
-			singlefile.pageAutoSaved = false;
 			options = message.options;
 			await autoSavePage();
 			if (options.autoSaveRepeat) {