discourse/plugins/chat/assets/javascripts
Joffrey JAFFEUX 49a0129b0d
FIX: prevents chat to enter in endless loop when getting 404 (#18867)
Doing DOM operations in finally would cause them to happen even when the request was a failure. Consequence of these DOM operations would be new request, which would also end up in a 404, and so on.

This commit simply moves the DOM operations in the then block where it should be safe to make.
2022-11-03 19:52:44 +01:00
..
discourse FIX: prevents chat to enter in endless loop when getting 404 (#18867) 2022-11-03 19:52:44 +01:00
lib/discourse-markdown