summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2019-01-20 20:50:26 +0100
committerDaniel Kesselberg <mail@danielkesselberg.de>2019-02-01 21:36:26 +0100
commit0972a559120ce8ccfca89c869edd481683504b84 (patch)
treeb7dcddc0c2416a60b6718062f076daa0536137d9
parentf3485e070904902caa1044c4f735326120e7a979 (diff)
downloadnextcloud-server-0972a559120ce8ccfca89c869edd481683504b84.tar.gz
nextcloud-server-0972a559120ce8ccfca89c869edd481683504b84.zip
Clipboard -> ClipboardJS
https://github.com/nextcloud/server/issues/12915 Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
-rw-r--r--settings/js/authtoken_view.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/authtoken_view.js b/settings/js/authtoken_view.js
index 1c90bea4a17..a59c060e36d 100644
--- a/settings/js/authtoken_view.js
+++ b/settings/js/authtoken_view.js
@@ -241,7 +241,7 @@
this._result.find('.clipboardButton').tooltip({placement: 'bottom', title: t('core', 'Copy'), trigger: 'hover'});
// Clipboard!
- var clipboard = new Clipboard('.clipboardButton');
+ var clipboard = new ClipboardJS('.clipboardButton');
clipboard.on('success', function(e) {
var $input = $(e.trigger);
$input.tooltip('hide')