mirror of
https://github.com/zulip/zulip.git
synced 2026-07-03 21:10:12 +08:00
stream_popover: Remove dead unsub code.
This seems to have been dead since it was introduced in
64079b382f.
This commit is contained in:
parent
edf8b13430
commit
e17e231b2a
@ -168,10 +168,7 @@ function build_stream_popover(opts) {
|
||||
});
|
||||
|
||||
// Unsubscribe
|
||||
$popper.on("click", ".popover_sub_unsub_button", function (e) {
|
||||
$(this).toggleClass("unsub");
|
||||
$(this).closest(".popover").fadeOut(500).delay(500).remove();
|
||||
|
||||
$popper.on("click", ".popover_sub_unsub_button", (e) => {
|
||||
const sub = stream_popover_sub(e);
|
||||
hide_stream_popover();
|
||||
stream_settings_components.sub_or_unsub(sub);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user