forked from MarseyWorld/MarseyWorld
master
parent
4abbfcbd15
commit
84f2ffde6e
|
@ -56,11 +56,6 @@
|
|||
myToast.show();
|
||||
console.log(e);
|
||||
});
|
||||
clipboard.on('error', function(e) {
|
||||
var myToast = new bootstrap.Toast(document.getElementById('toast-error'));
|
||||
myToast.show();
|
||||
console.log(e);
|
||||
});
|
||||
</script>
|
||||
|
||||
{% macro single_comment(c, level=1) %}
|
||||
|
|
|
@ -331,12 +331,6 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="toast clipboard" id="toast-error" role="alert" aria-live="assertive" aria-atomic="true" data-bs-animation="true" data-bs-autohide="true" data-bs-delay="5000">
|
||||
<div class="toast-body text-center">
|
||||
<i class="fas fa-exclamation-circle text-danger mr-2"></i>Unable to copy link
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="toast" id="toast-post-success" style="position: fixed; bottom: 1.5rem; margin: 0 auto; left: 0; right: 0; width: 275px; z-index: 1000" role="alert" aria-live="assertive" aria-atomic="true" data-bs-animation="true" data-bs-autohide="true" data-bs-delay="5000">
|
||||
<div class="toast-body bg-success text-center text-white">
|
||||
<i class="fas fa-comment-alt-smile mr-2"></i><span id="toast-post-success-text"></span>
|
||||
|
|
|
@ -13,11 +13,6 @@
|
|||
myToast.show();
|
||||
console.log(e);
|
||||
});
|
||||
clipboard.on('error', function(e) {
|
||||
var myToast = new bootstrap.Toast(document.getElementById('toast-error'));
|
||||
myToast.show();
|
||||
console.log(e);
|
||||
});
|
||||
</script>
|
||||
|
||||
{% if v %}
|
||||
|
|
|
@ -12,11 +12,6 @@
|
|||
myToast.show();
|
||||
console.log(e);
|
||||
});
|
||||
clipboard.on('error', function(e) {
|
||||
var myToast = new bootstrap.Toast(document.getElementById('toast-error'));
|
||||
myToast.show();
|
||||
console.log(e);
|
||||
});
|
||||
|
||||
|
||||
document.getElementById('new_email').addEventListener('input', function () {
|
||||
|
@ -270,12 +265,6 @@
|
|||
<i class="fas fa-check-circle text-success mr-2"></i>Link copied to clipboard
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="toast clipboard" id="toast-error" role="alert" aria-live="assertive" aria-atomic="true" data-bs-animation="true" data-bs-autohide="true" data-bs-delay="5000">
|
||||
<div class="toast-body text-center">
|
||||
<i class="fas fa-exclamation-circle text-danger mr-2"></i>Unable to copy link
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
|
|
@ -153,10 +153,4 @@
|
|||
<i class="fas fa-check-circle text-success mr-2"></i>Token copied to clipboard
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="toast clipboard" id="toast-error" role="alert" aria-live="assertive" aria-atomic="true" data-bs-animation="true" data-bs-autohide="true" data-bs-delay="5000">
|
||||
<div class="toast-body text-center">
|
||||
<i class="fas fa-exclamation-circle text-danger mr-2"></i>Unable to copy data
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -97,12 +97,6 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="toast clipboard" id="toast-error" role="alert" aria-live="assertive" aria-atomic="true" data-bs-animation="true" data-bs-autohide="true" data-bs-delay="5000">
|
||||
<div class="toast-body text-center">
|
||||
<i class="fas fa-exclamation-circle text-danger mr-2"></i>Unable to copy link
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -19,11 +19,6 @@
|
|||
myToast.show();
|
||||
console.log(e);
|
||||
});
|
||||
clipboard.on('error', function(e) {
|
||||
var myToast = new bootstrap.Toast(document.getElementById('toast-error'));
|
||||
myToast.show();
|
||||
console.log(e);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue