Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1031706

Browse files
smellaiumbynos
smellai
authored andcommittedJan 21, 2021
fix tab
1 parent b02a17f commit 1031706

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎home.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
var link = document.createElement('a');
6868
link.setAttribute('download', 'agent-log.txt');
6969
var text = log.innerHTML.replace(/<br>/g, '\n');
70-
text = text.replace(/<b>|<\/b>/g, '');
70+
text = text.replace(/<b>|<\/b>/g, '');
7171
link.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(text));
7272
link.click();
7373
});

‎main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ const homeTemplateHtml = `<!DOCTYPE html>
479479
var link = document.createElement('a');
480480
link.setAttribute('download', 'agent-log.txt');
481481
var text = log.innerHTML.replace(/<br>/g, '\n');
482-
text = text.replace(/<b>|<\/b>/g, '');
482+
text = text.replace(/<b>|<\/b>/g, '');
483483
link.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(text));
484484
link.click();
485485
});

0 commit comments

Comments
 (0)
Please sign in to comment.