Fix js/css content type (paste)

Update README.md

Signed-off-by: Joe Ma <rikkaneko23@gmail.com>
This commit is contained in:
Joe Ma 2023-03-26 20:52:40 +08:00
parent 7e65c403f7
commit 0f89088486
No known key found for this signature in database
GPG key ID: 7A0ECF5F5EDC587F
3 changed files with 28 additions and 41 deletions

View file

@ -52,7 +52,7 @@ function validate_url(path) {
function show_pop_alert(message, alert_type = 'alert-primary') {
remove_pop_alert();
$('body').prepend(jQuery.parseHTML(
$('.navbar').after(jQuery.parseHTML(
`<div class="alert ${alert_type} alert-dismissible fade show position-absolute top-0 start-50 translate-middle-x"
style="margin-top: 80px; max-width: 500px; width: 80%" id="pop_alert" role="alert"> \
<div>${message}</div> \