forked from MarseyWorld/MarseyWorld
fds
parent
1b06b72d1a
commit
83f04bfacb
|
@ -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');
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue