TheDesk Miria (17.0.2)
This commit is contained in:
@@ -14,6 +14,21 @@ function mediaToggle(tlid) {
|
||||
$("#timeline_"+tlid).addClass("media-filter")
|
||||
}
|
||||
}
|
||||
//各TL上方のBT[On/Off]
|
||||
function ebtToggle(tlid) {
|
||||
var ebt = localStorage.getItem("ebt_" + tlid);
|
||||
if (ebt) {
|
||||
localStorage.removeItem("ebt_" + tlid);
|
||||
$("#sta-bt-" + tlid).text("Off");
|
||||
$("#sta-bt-" + tlid).css("color",'red');
|
||||
$("#timeline_"+tlid).removeClass("bt-filter")
|
||||
} else {
|
||||
localStorage.setItem("ebt_" + tlid, "true");
|
||||
$("#sta-bt-" + tlid).text("On");
|
||||
$("#sta-bt-" + tlid).css("color",'#009688');
|
||||
$("#timeline_"+tlid).addClass("bt-filter")
|
||||
}
|
||||
}
|
||||
//各TL上方のMedia[On/Off]をチェック
|
||||
function mediaCheck(tlid) {
|
||||
var media = localStorage.getItem("media_" + tlid);
|
||||
@@ -27,6 +42,19 @@ function mediaCheck(tlid) {
|
||||
$("#timeline_"+tlid).removeClass("media-filter")
|
||||
}
|
||||
}
|
||||
//各TL上方のBT[On/Off]をチェック
|
||||
function ebtCheck(tlid) {
|
||||
var ebt = localStorage.getItem("ebt_" + tlid);
|
||||
if (ebt) {
|
||||
$("#sta-bt-" + tlid).text("On");
|
||||
$("#sta-bt-" + tlid).css("color",'#009688');
|
||||
$("#timeline_"+tlid).addClass("bt-filter")
|
||||
} else {
|
||||
$("#sta-bt-" + tlid).text("Off");
|
||||
$("#sta-bt-" + tlid).css("color",'red');
|
||||
$("#timeline_"+tlid).removeClass("bt-filter")
|
||||
}
|
||||
}
|
||||
/* 削除追跡*/
|
||||
function catchToggle(tlid) {
|
||||
var catchck = localStorage.getItem("catch_" + tlid);
|
||||
|
@@ -171,6 +171,7 @@ function notfColumn(acct_id, tlid, sys){
|
||||
if(!$("div[data-notfIndv=" + acct_id +"_"+obj.id+"]").length){
|
||||
$(".tl[data-notf=" + acct_id +"]").prepend(templete);
|
||||
}
|
||||
$(".notf-timeline[data-acct=" + acct_id +"]").prepend(templete);
|
||||
jQuery("time.timeago").timeago();
|
||||
} else if (type == "delete") {
|
||||
$("[toot-id=" + obj + "]").hide();
|
||||
|
@@ -76,7 +76,6 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter) {
|
||||
//Cards
|
||||
var card = localStorage.getItem("card_" + tlid);
|
||||
|
||||
|
||||
if (!sent) {
|
||||
var sent = 500;
|
||||
}
|
||||
|
@@ -80,6 +80,7 @@ function tl(type, data, acct_id, tlid, delc, voice, mode) {
|
||||
if(type!="noauth"){
|
||||
req.i=at;
|
||||
}
|
||||
|
||||
if(type=="local-media"||type=="pub-media"){
|
||||
req.mediaOnly=true;
|
||||
}
|
||||
@@ -672,5 +673,4 @@ function reconnector(tlid,type,acct_id,data,mode){
|
||||
}
|
||||
Materialize.toast(lang.lang_tl_reconnect, 2000);
|
||||
}
|
||||
|
||||
strAliveInt()
|
Reference in New Issue
Block a user