When redraft, diabled acct-sel
This commit is contained in:
parent
ab8da89fbc
commit
657dec1c10
|
@ -295,6 +295,7 @@ 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);
|
||||||
|
$('select').formSelect();
|
||||||
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);
|
||||||
|
@ -473,7 +474,7 @@ function staEx(mode) {
|
||||||
var acct_id = $("#status-acct-sel").val();
|
var acct_id = $("#status-acct-sel").val();
|
||||||
var domain = localStorage.getItem("domain_" + acct_id);
|
var domain = localStorage.getItem("domain_" + acct_id);
|
||||||
var at = localStorage.getItem("acct_" + acct_id + "_at");
|
var at = localStorage.getItem("acct_" + acct_id + "_at");
|
||||||
var start = "https://" + domain + "/api/v1/search?resolve=true&q=" + url
|
var start = "https://" + domain + "/api/v2/search?resolve=true&q=" + url
|
||||||
fetch(start, {
|
fetch(start, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
headers: {
|
headers: {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user