mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-18 22:44:24 +01:00
Reset flag modal when the modal is loaded (#594)
This commit is contained in:
@@ -111,6 +111,8 @@ $(document).ready(function () {
|
||||
var option = "<option value='{0}'>{1}</option>".format(key, data[key]);
|
||||
$("#create-keys-select").append(option);
|
||||
}
|
||||
$("#create-keys-entry-div").empty();
|
||||
$("#create-keys-button-div").hide();
|
||||
$("#create-keys").modal();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user