master
Aevann1 2021-09-26 11:10:08 +02:00
parent 1b06b72d1a
commit 83f04bfacb
4 changed files with 8 additions and 8 deletions

View File

@ -465,14 +465,14 @@
};
var clipboard = new ClipboardJS('.copy-link');
clipboard.addEventListener('success', function(e) {
clipboard.on('success', function(e) {
jQuery(function($) {
document.getElementById('toast-success').toast('show');
})
console.log(e);
});
clipboard.addEventListener('error', function(e) {
clipboard.on('error', function(e) {
jQuery(function($) {
document.getElementById('toast-error').toast('show');

View File

@ -18,14 +18,14 @@
<script>
var clipboard = new ClipboardJS('.copy-link');
clipboard.addEventListener('success', function(e) {
clipboard.on('success', function(e) {
jQuery(function($) {
document.getElementById('toast-success').toast('show');
})
console.log(e);
});
clipboard.addEventListener('error', function(e) {
clipboard.on('error', function(e) {
jQuery(function($) {
document.getElementById('toast-error').toast('show');

View File

@ -18,14 +18,14 @@
<script>
var clipboard = new ClipboardJS('.copy-link');
clipboard.addEventListener('success', function(e) {
clipboard.on('success', function(e) {
jQuery(function($) {
document.getElementById('toast-success').toast('show');
})
console.log(e);
});
clipboard.addEventListener('error', function(e) {
clipboard.on('error', function(e) {
jQuery(function($) {
document.getElementById('toast-error').toast('show');

View File

@ -3,14 +3,14 @@
<script>
var clipboard = new ClipboardJS('.copy-link');
clipboard.addEventListener('success', function(e) {
clipboard.on('success', function(e) {
jQuery(function($) {
document.getElementById('toast-success').toast('show');
})
console.log(e);
});
clipboard.addEventListener('error', function(e) {
clipboard.on('error', function(e) {
jQuery(function($) {
document.getElementById('toast-error').toast('show');