summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-05-02 10:10:23 +0200
committerGitHub <noreply@github.com>2017-05-02 10:10:23 +0200
commit94c2f12226ed005fc2a1e9c440ec70346e9c272a (patch)
treea36529fed8706fc0b75e397d4e8886b35233e6dc
parentd4217830c61eb3b1e4c9009e0f9b0741c00c4119 (diff)
parent2ce71f8c24909cc2e901a85d6ce433b1a0dd0667 (diff)
downloadnextcloud-server-94c2f12226ed005fc2a1e9c440ec70346e9c272a.tar.gz
nextcloud-server-94c2f12226ed005fc2a1e9c440ec70346e9c272a.zip
Merge pull request #4638 from nextcloud/fix-copy-tooltip
Fix "Copied" message for public links
-rw-r--r--core/js/sharedialoglinkshareview.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js
index 9368982d916..6b32484ab8e 100644
--- a/core/js/sharedialoglinkshareview.js
+++ b/core/js/sharedialoglinkshareview.js
@@ -177,9 +177,6 @@
var clipboard = new Clipboard('.clipboardButton');
clipboard.on('success', function(e) {
- event.preventDefault();
- event.stopPropagation();
-
var $input = $(e.trigger);
$input.tooltip('hide')
.attr('data-original-title', t('core', 'Copied!'))