js
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user