Fixed issue detecting blazor navigation. (Was not initializing HTMX on navigation when done through blazor UI)
This commit is contained in:
@@ -595,7 +595,7 @@ export function init() {
|
||||
syncValidationStyling();
|
||||
});
|
||||
|
||||
document.addEventListener('blazor:enhanced-load', () => {
|
||||
window.Blazor.addEventListener('enhancedload', () => {
|
||||
initComponents();
|
||||
if (typeof htmx !== 'undefined') htmx.process(document.body);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user