mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
click_handlers: Remove click handler for closing stream settings.
The click handler for closing stream settings in click_handlers.js is removed as overlays.js contains common logic for closing all overlays. 'exports.close' in subs.js is removed and 'hashchange.exit_overlay' is used in 'overlays.open_overlay' call.
This commit is contained in:
@@ -423,12 +423,6 @@ exports.initialize = function () {
|
||||
$(".tooltip").remove();
|
||||
});
|
||||
|
||||
$("#subscriptions_table").on("click", ".exit, #subscription_overlay", function (e) {
|
||||
if ($(e.target).is(".exit, .exit-sign, #subscription_overlay, #subscription_overlay > .flex")) {
|
||||
subs.close();
|
||||
}
|
||||
});
|
||||
|
||||
function do_render_buddy_list_tooltip(elem, title_data) {
|
||||
elem.tooltip({
|
||||
template: render_buddy_list_tooltip(),
|
||||
|
||||
Reference in New Issue
Block a user