diff --git a/web/src/stream_ui_updates.js b/web/src/stream_ui_updates.js index 544be6aaee..faad1eed1a 100644 --- a/web/src/stream_ui_updates.js +++ b/web/src/stream_ui_updates.js @@ -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,