mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
stream_settings: Fix disabled subscribe button tooltip.
Previously, hovering over the disabled subscribe button would not display any tooltip due to an undefined object being passed to the function that created the tooltip.
This commit is contained in:
committed by
Tim Abbott
parent
1beebb9fa1
commit
094c3da965
@@ -44,9 +44,7 @@ export function initialize_disable_btn_hint_popover(
|
||||
}
|
||||
|
||||
export function initialize_cant_subscribe_popover(sub) {
|
||||
const $button_wrapper = stream_settings_containers
|
||||
.get_edit_container(sub)
|
||||
.find(".sub_unsub_button_wrapper");
|
||||
const $button_wrapper = $(".settings .stream_settings_header .sub_unsub_button_wrapper");
|
||||
const $settings_button = stream_settings_ui.settings_button_for_sub(sub);
|
||||
initialize_disable_btn_hint_popover(
|
||||
$button_wrapper,
|
||||
|
||||
Reference in New Issue
Block a user