瀏覽代碼

remove debugger keywords

Gildas 1 年之前
父節點
當前提交
62a4c9f535
共有 2 個文件被更改,包括 0 次插入2 次删除
  1. 0 1
      src/core/common/download.js
  2. 0 1
      src/ui/content/content-ui-editor-web.js

+ 0 - 1
src/core/common/download.js

@@ -183,7 +183,6 @@ async function downloadPageForeground(pageData, options) {
 
 async function sharePage(pageData, options) {
 	sharePageBar = getSharePageBar();
-	debugger;
 	const cancelled = await sharePageBar.display(options.selected);
 	if (!cancelled) {
 		const data = { files: [new File([pageData.content], pageData.filename, { type: pageData.mimeType })] };

+ 0 - 1
src/ui/content/content-ui-editor-web.js

@@ -1142,7 +1142,6 @@ pre code {
 				}), "*");
 			}
 			if (message.method == "download") {
-				debugger;
 				try {
 					await downloadPageForeground({
 						content: message.content,