diff --git a/wellnotify.htmx.js b/wellnotify.htmx.js index c1bd813..e3f6849 100644 --- a/wellnotify.htmx.js +++ b/wellnotify.htmx.js @@ -158,7 +158,7 @@ class WellNotifyHTMX { }); } else if ( !event.detail.successful && - (event.detail.isError || event.detail.failed) && + (event.detail.isError || event.detail.failed || event.detail.error) && msgAfterRequestFail ) { wellNotifyInstance.error(msgAfterRequestFail, {