diff --git a/app/js/post/post.js b/app/js/post/post.js index 86fcb44e..b76a40cf 100644 --- a/app/js/post/post.js +++ b/app/js/post/post.js @@ -289,6 +289,7 @@ function clear() { $("#post-acct-sel").val(localStorage.getItem("main")); } $('select').formSelect(); + mdCheck() $("#left-side").show(); $("#default-emoji").show(); $("#unreact").show(); diff --git a/app/js/post/status.js b/app/js/post/status.js index b84fa992..445bf75f 100644 --- a/app/js/post/status.js +++ b/app/js/post/status.js @@ -295,7 +295,9 @@ function redraft(id, acct_id) { show(); del(id, acct_id); $("#post-acct-sel").prop("disabled", true); + $("#post-acct-sel").val(acct_id); $('select').formSelect(); + mdCheck() var medias = $("[toot-id=" + id + "]").attr("data-medias"); var vismode = $("[toot-id=" + id + "] .vis-data").attr("data-vis"); vis(vismode); diff --git a/app/js/post/use-txtbox.js b/app/js/post/use-txtbox.js index 50c5779e..97350115 100644 --- a/app/js/post/use-txtbox.js +++ b/app/js/post/use-txtbox.js @@ -16,6 +16,7 @@ function re(id, ats_cm, acct_id, mode) { $("#post-acct-sel").val(acct_id); $("#post-acct-sel").prop("disabled", true); $('select').formSelect(); + mdCheck() $("#textarea").attr("placeholder", lang.lang_usetxtbox_reply); $("#textarea").focus(); var profimg = localStorage.getItem("prof_" + acct_id); @@ -75,5 +76,6 @@ function qt(id, acct_id, at, url) { } $("#post-acct-sel").val(acct_id); $('select').formSelect(); + mdCheck() $("#textarea").focus(); } \ No newline at end of file