mirror of https://github.com/zulip/zulip.git
left-sidebar: Remove topics help code.
This removes code associated with the dead topic help feature that is below “more topics”.
This commit is contained in:
parent
e54b9730fc
commit
744c4af958
|
@ -161,11 +161,6 @@ exports.widget = function (parent_elem, my_stream_id) {
|
||||||
self.no_more_topics = true;
|
self.no_more_topics = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
self.show_help_link = function () {
|
|
||||||
var elem = self.dom.find('.sidebar-topics-help');
|
|
||||||
elem.show();
|
|
||||||
};
|
|
||||||
|
|
||||||
self.build = function (active_topic, no_more_topics) {
|
self.build = function (active_topic, no_more_topics) {
|
||||||
self.no_more_topics = false; // for now
|
self.no_more_topics = false; // for now
|
||||||
|
|
||||||
|
@ -186,10 +181,6 @@ exports.widget = function (parent_elem, my_stream_id) {
|
||||||
self.show_no_more_topics();
|
self.show_no_more_topics();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (zoomed) {
|
|
||||||
self.show_help_link();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (active_topic) {
|
if (active_topic) {
|
||||||
self.activate_topic();
|
self.activate_topic();
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,4 +7,3 @@
|
||||||
<li class="no-more-topics-found">
|
<li class="no-more-topics-found">
|
||||||
{{t "No more topics." }}
|
{{t "No more topics." }}
|
||||||
</li>
|
</li>
|
||||||
<li class="sidebar-topics-help"></li>
|
|
||||||
|
|
Loading…
Reference in New Issue