From abe3a2ccb66c4c714ca2822c3597e6e64fdabd81 Mon Sep 17 00:00:00 2001 From: kPherox Date: Fri, 22 Mar 2019 02:58:26 +0900 Subject: [PATCH 1/2] Fix duplicate more loading --- app/js/tl/mix.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/js/tl/mix.js b/app/js/tl/mix.js index b58167dd..fd460071 100644 --- a/app/js/tl/mix.js +++ b/app/js/tl/mix.js @@ -239,6 +239,7 @@ function mixmore(tlid,type) { var multi = localStorage.getItem("column"); var obj = JSON.parse(multi); var acct_id = obj[tlid].domain; + moreloading=true; todo("Integrated TL MoreLoading...(Local)"); var domain = localStorage.getItem("domain_" + acct_id); var at = localStorage.getItem("acct_"+ acct_id + "_at"); @@ -305,6 +306,7 @@ function mixmore(tlid,type) { mixre(acct_id, tlid); additional(acct_id, tlid); jQuery("time.timeago").timeago(); + moreloading=false; todc(); }); }); From b25244aa9ad99289da07c9ee051a20dec08d647c Mon Sep 17 00:00:00 2001 From: kPherox Date: Fri, 22 Mar 2019 02:59:04 +0900 Subject: [PATCH 2/2] Fix duplicate websocket connection --- app/js/tl/mix.js | 1 - 1 file changed, 1 deletion(-) diff --git a/app/js/tl/mix.js b/app/js/tl/mix.js index fd460071..06e23787 100644 --- a/app/js/tl/mix.js +++ b/app/js/tl/mix.js @@ -303,7 +303,6 @@ function mixmore(tlid,type) { }); $("#timeline_" + tlid).append(templete); - mixre(acct_id, tlid); additional(acct_id, tlid); jQuery("time.timeago").timeago(); moreloading=false;