Fix duplicate more loading

This commit is contained in:
kPherox 2019-03-22 02:58:26 +09:00
parent f7a80da21b
commit abe3a2ccb6
No known key found for this signature in database
GPG Key ID: C04751C2BFA2F62D

View File

@ -239,6 +239,7 @@ function mixmore(tlid,type) {
var multi = localStorage.getItem("column"); var multi = localStorage.getItem("column");
var obj = JSON.parse(multi); var obj = JSON.parse(multi);
var acct_id = obj[tlid].domain; var acct_id = obj[tlid].domain;
moreloading=true;
todo("Integrated TL MoreLoading...(Local)"); todo("Integrated TL MoreLoading...(Local)");
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");
@ -305,6 +306,7 @@ function mixmore(tlid,type) {
mixre(acct_id, tlid); mixre(acct_id, tlid);
additional(acct_id, tlid); additional(acct_id, tlid);
jQuery("time.timeago").timeago(); jQuery("time.timeago").timeago();
moreloading=false;
todc(); todc();
}); });
}); });