master
Aevann1 2021-09-28 22:47:59 +02:00
parent 4abbfcbd15
commit 84f2ffde6e
7 changed files with 0 additions and 44 deletions

View File

@ -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) %}

View File

@ -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>

View File

@ -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 %}

View File

@ -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 %}

View File

@ -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 %}

View File

@ -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>

View File

@ -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>