diff --git a/frontend_tests/node_tests/popovers.js b/frontend_tests/node_tests/popovers.js index e945b8e439..beccc14244 100644 --- a/frontend_tests/node_tests/popovers.js +++ b/frontend_tests/node_tests/popovers.js @@ -33,6 +33,7 @@ mock_esm("../../static/js/stream_popover", { hide_topic_popover: noop, hide_all_messages_popover: noop, hide_starred_messages_popover: noop, + hide_drafts_popover: noop, hide_streamlist_sidebar: noop, }); diff --git a/static/js/popovers.js b/static/js/popovers.js index 772564cbd2..3f79b88a6c 100644 --- a/static/js/popovers.js +++ b/static/js/popovers.js @@ -1313,6 +1313,7 @@ export function hide_all_except_sidebars(opts) { stream_popover.hide_topic_popover(); stream_popover.hide_all_messages_popover(); stream_popover.hide_starred_messages_popover(); + stream_popover.hide_drafts_popover(); hide_user_sidebar_popover(); hide_user_info_popover(); hide_playground_links_popover();