mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 02:03:45 +08:00
3e010bc88c
If a widget toggles between displaying two different RenderGlimmer instances, the Widget framework treats them as the same, and so `update()` is called rather than destroy/init. This commit detects this scenario and manually destroys/inits to ensure the correct component is being rendered. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |