mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
Earlier, we were appending view all subscribers link using JQuery.append, which leaves open the possibility for the component to be appended multiple times if the function calling it gets called multiple times. It is better to have the link div in right_sidebar.hbs and then insert the html when required.
6 lines
188 B
Handlebars
6 lines
188 B
Handlebars
<a class="right-sidebar-wrappable-text-container" href="{{stream_edit_hash}}">
|
|
<span class="right-sidebar-wrappable-text-inner">
|
|
{{t "View all subscribers" }}
|
|
</span>
|
|
</a>
|