mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 20:04:16 +08:00
f0d82de5d9
Chat drawer was using the `DiscourseURL` hook `afterRouteComplete`. This hook suffer from a very poor implementation which makes it very unreliable: ```javascript if (typeof opts.afterRouteComplete === "function") { schedule("afterRender", opts.afterRouteComplete); } ``` This commit attempts to return the promise from `handleURL` to directly use it and have a very reliable after transition hook. |
||
---|---|---|
.. | ||
chat | ||
discourse-details | ||
discourse-lazy-videos | ||
discourse-local-dates | ||
discourse-narrative-bot | ||
discourse-presence | ||
poll | ||
styleguide |