Skip to content

Commit

Permalink
Update web/common-function.js
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwiseman authored Sep 15, 2024
1 parent 02b7d51 commit 37262c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/common-function.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ function downloadBeautifiedCode() {
var link = document.createElement("a");
link.href = URL.createObjectURL(blob);
try {
link.download = "js-beautify." + fileExtension; // Dynamic file name based on extension
link.download = "beautified." + fileExtension; // Dynamic file name based on extension

// Triggering the download
link.click();
Expand Down

0 comments on commit 37262c6

Please sign in to comment.