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()
|
||||
textbox.value = textbox.value.replace(new RegExp(current_word+"(?=\\s|$)", "gi"), `:${name}: `)
|
||||
textbox.focus()
|
||||
if (location.pathname != '/chat') {
|
||||
if (typeof markdown === "function") {
|
||||
markdown(textbox)
|
||||
}
|
||||
});
|
||||
|
|
|
@ -261,6 +261,7 @@
|
|||
{% if v.admin_level >= PERMS['USER_BAN'] %}
|
||||
{% include "modals/punish.html" %}
|
||||
{% endif %}
|
||||
{% include "modals/emoji.html" %}
|
||||
{% endif %}
|
||||
|
||||
<script defer src="{{'js/vendor/clipboard.js' | asset}}"></script>
|
||||
|
|
Loading…
Reference in New Issue