mirror of
https://github.com/zulip/zulip.git
synced 2026-07-15 21:03:26 +08:00
Remove modals.set_close_handler().
This commit is contained in:
parent
07248ee7bd
commit
ddded59a6d
@ -26,10 +26,6 @@ exports.open_overlay = function (opts) {
|
||||
};
|
||||
};
|
||||
|
||||
exports.set_close_handler = function (name, handler) {
|
||||
exports.close[name] = handler;
|
||||
};
|
||||
|
||||
exports.close_modal = function (name) {
|
||||
$("[data-overlay='" + name + "']").removeClass("show");
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user