mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 16:02:46 +08:00
49a0129b0d
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. |
||
---|---|---|
.. | ||
chat | ||
discourse-details | ||
discourse-local-dates | ||
discourse-narrative-bot | ||
discourse-presence | ||
lazy-yt | ||
poll | ||
styleguide |