forked from rDrama/rDrama
fix award note causing a "Leave site" warning
parent
687d310327
commit
689be547d7
|
@ -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 (typeof markdown === "function") {
|
||||
if (typeof markdown === "function" && textbox.dataset.preview) {
|
||||
markdown(textbox)
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue