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 5a4b400

Browse files
author
smellai
committedJan 20, 2021
fix tab
1 parent c7a605b commit 5a4b400

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -478,8 +478,8 @@ const homeTemplateHtml = `<!DOCTYPE html>
478478
$('#export').click(function() {
479479
var link = document.createElement('a');
480480
link.setAttribute('download', 'agent-log.txt');
481-
var text = log.innerHTML.replace(/<br>/g, '\n');
482-
text = text.replace(/<b>|<\/b>/g, '');
481+
var text = log.innerHTML.replace(/<br>/g, '\n');
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.