This commit is contained in:
Aevann1 2022-01-18 15:44:53 +02:00
parent b0ae285ae6
commit 69152e63a2
4 changed files with 40 additions and 46 deletions

View file

@ -4,12 +4,10 @@ function formkey() {
else return null;
}
document.addEventListener("DOMContentLoaded", function(){
var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));
tooltipTriggerList.map(function(element){
return new bootstrap.Tooltip(element);
});
});
function post_toast(url, reload, data) {
document.getElementById('toast-post-error-text').innerText = "Error, please try again later."

View file

@ -1,5 +1,3 @@
document.addEventListener("DOMContentLoaded", function () {
document.getElementById('password-register').addEventListener('input', function () {
var charCount = document.getElementById("password-register").value;
@ -41,5 +39,3 @@ document.addEventListener("DOMContentLoaded", function () {
}
}
});
});

View file

@ -207,7 +207,7 @@
</div>
</nav>
<script src="/static/assets/js/header.js?a=202"></script>
<script src="/static/assets/js/header.js?a=203"></script>
<style>
.notif-count {

View file

@ -154,7 +154,7 @@
</div>
</div>
<script src="/static/assets/js/signup.js?a=202"></script>
<script src="/static/assets/js/signup.js?a=203"></script>
{% if hcaptcha %}
<script src="/static/assets/js/hcaptcha.js?a=202"></script>