Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
popover: Remove unused code.
Aman Agrawal96a93339cdc3
diff --git a/static/js/popover_menus.js b/static/js/popover_menus.jsindex 0cccbfadcce..5789e56b17f 100644--- a/static/js/popover_menus.js+++ b/static/js/popover_menus.js@@ -86,7 +86,7 @@ function on_show_prep(instance) {e.stopPropagation();instance.hide();});- popovers.hide_all_except_sidebars(instance);+ popovers.hide_all_except_sidebars();}function tippy_no_propagation(target, popover_props) {@@ -214,7 +214,7 @@ export function initialize() {),);compose_control_buttons_popover_instance = instance;- popovers.hide_all_except_sidebars(instance);+ popovers.hide_all_except_sidebars();},onHidden(instance) {instance.destroy();diff --git a/static/js/popovers.js b/static/js/popovers.jsindex e7c08518b1e..9e4d9682852 100644--- a/static/js/popovers.js+++ b/static/js/popovers.js@@ -1136,8 +1136,6 @@ export function hide_all_except_sidebars(opts) {if (!opts || !opts.not_hide_tippy_instances) {// hideAll hides all tippy instances (tooltips and popovers).hideAll();- } else if (opts.exclude_tippy_instance) {- hideAll({exclude: opts.exclude_tippy_instance});}emoji_picker.hide_emoji_popover();giphy.hide_giphy_popover();@@ -1164,7 +1162,6 @@ export function hide_all(not_hide_tippy_instances) {hide_userlist_sidebar();stream_popover.hide_streamlist_sidebar();hide_all_except_sidebars({- exclude_tippy_instance: undefined,not_hide_tippy_instances,});}