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:
sahil839
2020-05-06 03:56:35 +05:30
committed by Tim Abbott
parent 3ffc9466c9
commit 435e231567
2 changed files with 3 additions and 11 deletions

View File

@@ -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(),