forked from rDrama/rDrama
fix
parent
b8dfaff420
commit
6fe4f42035
|
@ -15,11 +15,6 @@
|
||||||
</noscript>
|
</noscript>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if v %}
|
|
||||||
<script>function formkey() {return '{{v.formkey}}';}</script>
|
|
||||||
<script src="/assets/js/default.js?v=57"></script>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<meta name="thumbnail" content="/assets/images/{{'SITE_NAME' | app_config}}/preview.gif">
|
<meta name="thumbnail" content="/assets/images/{{'SITE_NAME' | app_config}}/preview.gif">
|
||||||
|
@ -310,25 +305,6 @@
|
||||||
|
|
||||||
<!-- Clipboard JS -->
|
<!-- Clipboard JS -->
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.8/clipboard.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.8/clipboard.min.js"></script>
|
||||||
<script>
|
|
||||||
var clipboard = new ClipboardJS('.copy-link');
|
|
||||||
clipboard.on('success', function(e) {
|
|
||||||
var myToast = new bootstrap.Toast(document.getElementById('toast-success'));
|
|
||||||
myToast.show();
|
|
||||||
console.log(e);
|
|
||||||
});
|
|
||||||
|
|
||||||
const popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'));
|
|
||||||
|
|
||||||
const popoverList = popoverTriggerList.map(function(popoverTriggerEl) {
|
|
||||||
const popoverId = popoverTriggerEl.getAttribute('data-content-id');
|
|
||||||
const contentEl = document.getElementById(popoverId).innerHTML;
|
|
||||||
return new bootstrap.Popover(popoverTriggerEl, {
|
|
||||||
content: contentEl,
|
|
||||||
html: true,
|
|
||||||
});
|
|
||||||
})
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<!-- Push notifications -->
|
<!-- Push notifications -->
|
||||||
{% if v %}
|
{% if v %}
|
||||||
|
@ -355,5 +331,30 @@
|
||||||
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.bundle.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.bundle.min.js"></script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
var clipboard = new ClipboardJS('.copy-link');
|
||||||
|
clipboard.on('success', function(e) {
|
||||||
|
var myToast = new bootstrap.Toast(document.getElementById('toast-success'));
|
||||||
|
myToast.show();
|
||||||
|
console.log(e);
|
||||||
|
});
|
||||||
|
|
||||||
|
const popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'));
|
||||||
|
|
||||||
|
const popoverList = popoverTriggerList.map(function(popoverTriggerEl) {
|
||||||
|
const popoverId = popoverTriggerEl.getAttribute('data-content-id');
|
||||||
|
const contentEl = document.getElementById(popoverId).innerHTML;
|
||||||
|
return new bootstrap.Popover(popoverTriggerEl, {
|
||||||
|
content: contentEl,
|
||||||
|
html: true,
|
||||||
|
});
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{% if v %}
|
||||||
|
<script>function formkey() {return '{{v.formkey}}';}</script>
|
||||||
|
<script src="/assets/js/default.js?v=57"></script>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue