refactor: goodbye bootstrap4

This commit is contained in:
Hide_D committed 2021-12-11 02:50:24 +09:00
1 parent 37212c9392
commit e1897964e8
13 files changed
+328 -494

No files matched your search

+4 -2
View File
@@ -130,13 +130,15 @@ function showAdjustServerModal(serverList: [string, string][]) {
}
const modalEl = unwrap(document.querySelector('#chooseServer'));
new Modal(modalEl, {
const modal = new Modal(modalEl, {
backdrop: 'static'
});
modalEl.addEventListener('hidden.bs.modal', function () {
location.reload();
return;
})
});
modal.show();
$("#modal-apply").off("click").on("click", async function () {
const events: Promise<unknown>[] = [];