1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-21 01:58:23 +02:00

Use bootstrap-select selector when it is necessary

This commit is contained in:
Emmy D'Anello
2023-02-20 17:23:12 +01:00
parent e156ed6111
commit a8f24b6581
4 changed files with 32 additions and 28 deletions

View File

@ -263,6 +263,7 @@
.then(resp => resp.text())
.then(resp => new DOMParser().parseFromString(resp, 'text/html'))
.then(res => modalBody.innerHTML = res.getElementById(content_id).outerHTML)
.then(() => $('.selectpicker').selectpicker()) // TODO Update that when the library will be JQuery-free
}
})
}