We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 835af35 commit afb6aeeCopy full SHA for afb6aee
ephios/static/ephios/js/userprofile.js
@@ -1,9 +1,11 @@
1
-const clipboard = new ClipboardJS('.clipboard-button');
+$(document).ready(function () {
2
+ const clipboard = new ClipboardJS(".clipboard-button");
3
-clipboard.on("success", function (e) {
4
- const btn = $("#calendar-copy-btn");
5
- btn.tooltip("show");
6
- setTimeout(function () {
7
- btn.tooltip("hide")
8
- }, 1000);
9
-});
+ clipboard.on("success", function (e) {
+ const btn = $("#calendar-copy-btn");
+ btn.tooltip("show");
+ setTimeout(function () {
+ btn.tooltip("hide")
+ }, 1000);
10
+ });
11
+});
0 commit comments