Skip to content

Commit 7253432

Browse files
Update click-to-copy.js
Signed-off-by: Akshat Singhai <akshatsinghai6682@gmail.com>
1 parent 886cb3c commit 7253432

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

assets/js/click-to-copy.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,6 @@ for (let index = 0; index < codeListings.length; index++) {
5353
}, 2500);
5454
});
5555
};
56-
57-
copyButton.onmouseout = () => {
58-
if (!copyButton.classList.contains('td-click-to-copy--copied')) {
59-
copyButton.setAttribute('data-bs-original-title', 'Copy to clipboard');
60-
tooltip.hide();
61-
}
62-
};
63-
6456
const buttonDiv = document.createElement('div');
6557
buttonDiv.classList.add('click-to-copy');
6658
buttonDiv.append(copyButton);

0 commit comments

Comments
 (0)