forked from rDrama/rDrama
fix inline emoji search inside "report post" modal in post_listing.html
parent
cb4b05047e
commit
2e3fb6d521
|
@ -429,7 +429,7 @@ function populate_speed_emoji_modal(results, textbox)
|
||||||
close_inline_speed_emoji_modal()
|
close_inline_speed_emoji_modal()
|
||||||
textbox.value = textbox.value.replace(new RegExp(current_word+"(?=\\s|$)", "gi"), `:${name}: `)
|
textbox.value = textbox.value.replace(new RegExp(current_word+"(?=\\s|$)", "gi"), `:${name}: `)
|
||||||
textbox.focus()
|
textbox.focus()
|
||||||
if (location.pathname != '/chat') {
|
if (typeof markdown === "function") {
|
||||||
markdown(textbox)
|
markdown(textbox)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -261,6 +261,7 @@
|
||||||
{% if v.admin_level >= PERMS['USER_BAN'] %}
|
{% if v.admin_level >= PERMS['USER_BAN'] %}
|
||||||
{% include "modals/punish.html" %}
|
{% include "modals/punish.html" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% include "modals/emoji.html" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<script defer src="{{'js/vendor/clipboard.js' | asset}}"></script>
|
<script defer src="{{'js/vendor/clipboard.js' | asset}}"></script>
|
||||||
|
|
Loading…
Reference in New Issue