Skip to content

Commit 79fa117

Browse files
committed
Fixing clipboard issues
1 parent 62c21f3 commit 79fa117

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

assets/core/js/scripts.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ $(document).ready(function () {
185185
$('.simple-select').select2();
186186

187187
// Enable clipboard toggles
188-
var clipboards = new Clipboard('.to-clipboard');
188+
var clipboards = new ClipboardJS('.to-clipboard');
189189

190190
// Keep track of the last "taggable" input/textarea
191191
$('.taggable').on('focus', function () {
@@ -256,4 +256,4 @@ $(document).ready(function () {
256256
}
257257
});
258258
}
259-
});
259+
});

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727
"grunt-contrib-watch": "^1.1.0",
2828
"grunt-postcss": "^0.9.0",
2929
"grunt-sass": "^2.1.0",
30-
"node-sass": "^4.13.0",
3130
"html5shiv": "^3.7.3",
3231
"jquery": "^3.4.1",
3332
"jquery-ui": "^1.12.1",
3433
"js-cookie": "^2.2.1",
3534
"load-grunt-tasks": "^5.1.0",
35+
"node-sass": "^4.13.0",
3636
"postcss": "^7.0.26",
3737
"select2": "^4.0.12",
3838
"zxcvbn": "^4.4.2"

0 commit comments

Comments
 (0)