fix this https://watchpeopledie.tv/h/meta/post/61549/megathread-for-bugs-and-suggestions/3211880#context
parent
9610eaef53
commit
c474916f98
|
@ -62,8 +62,8 @@ function replaceText(input, current_word, new_text) {
|
||||||
const end_index = input.selectionStart;
|
const end_index = input.selectionStart;
|
||||||
input.setRangeText(new_text, start_index, end_index, "end");
|
input.setRangeText(new_text, start_index, end_index, "end");
|
||||||
|
|
||||||
if (typeof markdown === "function" && textbox.dataset.preview)
|
if (typeof markdown === "function" && input.dataset.preview)
|
||||||
markdown(textbox)
|
markdown(input)
|
||||||
}
|
}
|
||||||
|
|
||||||
function populate_inline_emoji_modal(results, textbox)
|
function populate_inline_emoji_modal(results, textbox)
|
||||||
|
|
Loading…
Reference in New Issue