TheDesk Akane (16.0.2)

This commit is contained in:
cutls 2018-08-05 14:16:12 +09:00
parent b71a8eab26
commit 131c4ae35e
2 changed files with 1 additions and 2 deletions

View File

@ -321,12 +321,12 @@ function moreload(type, tlid) {
localStorage.setItem("now", type); localStorage.setItem("now", type);
todo(cap(type) + " TL MoreLoading"); todo(cap(type) + " TL MoreLoading");
if(type!="noauth"){ if(type!="noauth"){
var at = localStorage.getItem("acct_"+ acct_id + "_at");
var hdr={ var hdr={
'content-type': 'application/json', 'content-type': 'application/json',
'Authorization': 'Bearer ' + at 'Authorization': 'Bearer ' + at
}; };
var domain = localStorage.getItem("domain_" + acct_id); var domain = localStorage.getItem("domain_" + acct_id);
var at = localStorage.getItem("acct_"+ acct_id + "_at");
}else{ }else{
var hdr={ var hdr={
'content-type': 'application/json' 'content-type': 'application/json'

View File

@ -24,7 +24,6 @@
<span id="notice"></span> <span id="notice"></span>
<script> <script>
//コード受信 //コード受信
localStorage.removeItem("lang")
if(location.search){ if(location.search){
var m = location.search.match(/\?mode=([a-zA-Z-0-9]+)/); var m = location.search.match(/\?mode=([a-zA-Z-0-9]+)/);
var mode=m[1]; var mode=m[1];