mirror of
https://github.com/rikkaneko/paste.git
synced 2025-06-06 16:45:41 +00:00
Fix js/css content type (paste)
Update README.md Signed-off-by: Joe Ma <rikkaneko23@gmail.com>
This commit is contained in:
parent
7e65c403f7
commit
0f89088486
3 changed files with 28 additions and 41 deletions
|
@ -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> \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue