Fix: when acct-sel, not showing current acct prof img
This commit is contained in:
parent
120e9da1c9
commit
919c6c40e2
|
@ -289,6 +289,7 @@ function clear() {
|
||||||
$("#post-acct-sel").val(localStorage.getItem("main"));
|
$("#post-acct-sel").val(localStorage.getItem("main"));
|
||||||
}
|
}
|
||||||
$('select').formSelect();
|
$('select').formSelect();
|
||||||
|
mdCheck()
|
||||||
$("#left-side").show();
|
$("#left-side").show();
|
||||||
$("#default-emoji").show();
|
$("#default-emoji").show();
|
||||||
$("#unreact").show();
|
$("#unreact").show();
|
||||||
|
|
|
@ -295,7 +295,9 @@ function redraft(id, acct_id) {
|
||||||
show();
|
show();
|
||||||
del(id, acct_id);
|
del(id, acct_id);
|
||||||
$("#post-acct-sel").prop("disabled", true);
|
$("#post-acct-sel").prop("disabled", true);
|
||||||
|
$("#post-acct-sel").val(acct_id);
|
||||||
$('select').formSelect();
|
$('select').formSelect();
|
||||||
|
mdCheck()
|
||||||
var medias = $("[toot-id=" + id + "]").attr("data-medias");
|
var medias = $("[toot-id=" + id + "]").attr("data-medias");
|
||||||
var vismode = $("[toot-id=" + id + "] .vis-data").attr("data-vis");
|
var vismode = $("[toot-id=" + id + "] .vis-data").attr("data-vis");
|
||||||
vis(vismode);
|
vis(vismode);
|
||||||
|
|
|
@ -16,6 +16,7 @@ function re(id, ats_cm, acct_id, mode) {
|
||||||
$("#post-acct-sel").val(acct_id);
|
$("#post-acct-sel").val(acct_id);
|
||||||
$("#post-acct-sel").prop("disabled", true);
|
$("#post-acct-sel").prop("disabled", true);
|
||||||
$('select').formSelect();
|
$('select').formSelect();
|
||||||
|
mdCheck()
|
||||||
$("#textarea").attr("placeholder", lang.lang_usetxtbox_reply);
|
$("#textarea").attr("placeholder", lang.lang_usetxtbox_reply);
|
||||||
$("#textarea").focus();
|
$("#textarea").focus();
|
||||||
var profimg = localStorage.getItem("prof_" + acct_id);
|
var profimg = localStorage.getItem("prof_" + acct_id);
|
||||||
|
@ -75,5 +76,6 @@ function qt(id, acct_id, at, url) {
|
||||||
}
|
}
|
||||||
$("#post-acct-sel").val(acct_id);
|
$("#post-acct-sel").val(acct_id);
|
||||||
$('select').formSelect();
|
$('select').formSelect();
|
||||||
|
mdCheck()
|
||||||
$("#textarea").focus();
|
$("#textarea").focus();
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user