Makes tailwind version of history page
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
htmx.defineExtension('disable-submit', {
|
||||
onEvent: function (name, evt, data) {
|
||||
/*
|
||||
let elt = evt.detail.elt;
|
||||
let result = elt.querySelectorAll('.hx-disable');
|
||||
|
||||
@@ -12,5 +13,6 @@ htmx.defineExtension('disable-submit', {
|
||||
result.forEach(element => element.disabled = false);
|
||||
if (elt.classList.contains('hx-disable')) elt.disabled = false;
|
||||
}
|
||||
*/
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user