Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7f57408

Browse files
added new class for copying install command from home page.
1 parent 81be0f1 commit 7f57408

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

resources/js/clipboard.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,5 @@ codeBlocks.forEach((element, key) => {
4646
codeElement.id = `clipText-${key}`;
4747
copyToClipboardBtn.dataset.clipboardTarget = `#${codeElement.id}`;
4848
});
49+
50+
new ClipboardJS('.copyBtn');

0 commit comments

Comments
 (0)