Skip to content

Commit

Permalink
Remove extra title for directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
cyclotruc committed Dec 8, 2024
1 parent 1f21a3e commit b0107bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/static/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function handleSubmit(event, showLoading = false) {
function copyFullDigest() {
const directoryStructure = document.querySelector('.directory-structure').value;
const filesContent = document.querySelector('.result-text').value;
const fullDigest = `Directory Structure:\n\n${directoryStructure}\n\nFiles Content:\n\n${filesContent}`;
const fullDigest = `${directoryStructure}\n\nFiles Content:\n\n${filesContent}`;
const button = document.querySelector('[onclick="copyFullDigest()"]');
const originalText = button.innerHTML;

Expand Down

0 comments on commit b0107bc

Please sign in to comment.