This commit is contained in:
2023-08-29 21:33:59 +02:00
parent e0c9bc542a
commit 201fb88aef
6 changed files with 107 additions and 6 deletions

View File

@@ -1,5 +1,11 @@
window.onload = function() {
document.body.addEventListener('htmx:responseError', function(evt) {
console.log(evt.detail);
console.log(evt.detail);
});
document.dispatchEvent(new Event("loaded"));
};
function is_positive_integer(val) {
return /^\d+$/.test(val);
}