TLにトゥートがない場合は続きを読み込まない
This commit is contained in:
parent
621a1f3797
commit
d880d1989d
|
@ -306,7 +306,7 @@ function moreload(type, tlid) {
|
||||||
var data=obj[tlid].data;
|
var data=obj[tlid].data;
|
||||||
}
|
}
|
||||||
var sid = $("#timeline_" + tlid + " .cvo").last().attr("unique-id");
|
var sid = $("#timeline_" + tlid + " .cvo").last().attr("unique-id");
|
||||||
if (localStorage.getItem("morelock") != sid) {
|
if (sid && localStorage.getItem("morelock") != sid) {
|
||||||
localStorage.setItem("morelock", sid);
|
localStorage.setItem("morelock", sid);
|
||||||
if (type == "mix" && localStorage.getItem("domain_" + acct_id)!="misskey.xyz") {
|
if (type == "mix" && localStorage.getItem("domain_" + acct_id)!="misskey.xyz") {
|
||||||
mixmore(tlid,"integrated");
|
mixmore(tlid,"integrated");
|
||||||
|
@ -555,4 +555,4 @@ function icon(type) {
|
||||||
}else if (type == "mix") {
|
}else if (type == "mix") {
|
||||||
return "share"
|
return "share"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user