Browse Source

Update clipboard.js to v2.0.0

adaptive-webui-19844
Chocobo1 7 years ago
parent
commit
cbf10ebb7f
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/webui/www/private/scripts/client.js
  2. 4
      src/webui/www/private/scripts/lib/clipboard.min.js

2
src/webui/www/private/scripts/client.js

@ -639,7 +639,7 @@ function setupCopyEventHandler() {
if (clipboardEvent) if (clipboardEvent)
clipboardEvent.destroy(); clipboardEvent.destroy();
clipboardEvent = new Clipboard('.copyToClipboard', { clipboardEvent = new ClipboardJS('.copyToClipboard', {
text: function(trigger) { text: function(trigger) {
var textToCopy; var textToCopy;

4
src/webui/www/private/scripts/lib/clipboard.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save