mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
overlays: Remove all alert notifications from in open_modal func.
We should not display any alert previous notification on open_modal() functions.
This commit is contained in:
committed by
Tim Abbott
parent
5506b16fa8
commit
916a84ce20
@@ -106,6 +106,7 @@ exports.open_modal = function (name) {
|
||||
$('.overlay.show').attr("style", "pointer-events: none");
|
||||
// Remove previous alert messsages from modal, if exists.
|
||||
$("#" + name).find(".alert").hide();
|
||||
$("#" + name).find(".alert-notification").html("");
|
||||
};
|
||||
|
||||
exports.close_overlay = function (name) {
|
||||
|
||||
Reference in New Issue
Block a user