Skip to content

Commit

Permalink
added a title
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitkumar748846 committed Mar 10, 2024
1 parent 0915265 commit 86cec63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/javascript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ document.addEventListener("DOMContentLoaded", function(event) {
</svg>`
copyButton.innerHTML = svgIcon;
copyButton.classList.add('copy-button');
copyButton.setAttribute('title', 'Copy Code Snippet');
pre.appendChild(copyButton);
pre.style.position = 'relative';
copyButton.style.position = 'absolute';
Expand Down

0 comments on commit 86cec63

Please sign in to comment.