Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

subs: Remove click handler for a non-existent class.

sahil8395f62696bc580
diff --git a/static/js/subs.js b/static/js/subs.js
index 93bbea320c5..7a4d84460ac 100644
--- a/static/js/subs.js
+++ b/static/js/subs.js
@@ -914,21 +914,6 @@ exports.initialize = function () {
selectText(this);
});
- $('.empty_feed_sub_unsub').click(function (e) {
- e.preventDefault();
-
- $('#subscription-status').hide();
- const stream_name = narrow_state.stream();
- if (stream_name === undefined) {
- return;
- }
- const sub = stream_data.get_sub(stream_name);
- exports.sub_or_unsub(sub);
-
- $('.empty_feed_notice').hide();
- $('#empty_narrow_message').show();
- });
-
$("#subscriptions_table").on("click", ".stream-row, .create_stream_button", function () {
$(".right").addClass("show");
$(".subscriptions-header").addClass("slide-left");