diff --git a/app/js/tl/dm.js b/app/js/tl/dm.js index 6732860a..c434c1ef 100644 --- a/app/js/tl/dm.js +++ b/app/js/tl/dm.js @@ -243,7 +243,7 @@ function dmListParse(obj, mix, acct_id, tlid, popup, mutefilter) { var id = toot.id; var home = ""; if (toot.account.locked) { - var locked = ' '; + var locked = ' '; } else { var locked = ""; } @@ -506,7 +506,7 @@ function dmListParse(obj, mix, acct_id, tlid, popup, mutefilter) { toot.account.acct + locked + '' + '
' + + '('+lang.lang_parse_clickcopyurl+')">' + date(toot.created_at, datetype) + '' + '
' + '
'+tickerdom+''; if (toot.type == "reply") { var what = lang.lang_parse_mentioned; - var icon = ''; + var icon = ''; noticeavatar=""; } else if (toot.type == "renote") { var what = lang.lang_misskeyparse_renoted; - var icon = ''; + var icon = ''; } else if (toot.type == "quote") { var what = lang.lang_misskeyparse_quoted; - var icon = ''; + var icon = ''; } else if (toot.type == "reaction") { var what = lang.lang_misskeyparse_reacted; var reactions={ @@ -224,7 +224,7 @@ function misskeyParse(obj, mix, acct_id, tlid, popup, mutefilter) { var icon = 'info'; } var noticetext = '' + date(toot.createdAt, + 'absolute') + '('+lang.lang_parse_notftime+')">' + date(toot.createdAt, datetype) + ''+icon+'' + dis_name + @@ -290,7 +290,7 @@ function misskeyParse(obj, mix, acct_id, tlid, popup, mutefilter) { if (toot.renote) { var rebtxt = lang.lang_parse_btedsimple; var rticon = "fa-retweet light-blue-text"; - var notice = ''+ dis_name + "(@" + toot.user.username + + var notice = ''+ dis_name + "(@" + toot.user.username + ")
"; var boostback = "shared"; var uniqueid=toot.id; @@ -777,7 +777,7 @@ function misskeyParse(obj, mix, acct_id, tlid, popup, mutefilter) { toot.user.username + '
' + '
' + + '('+lang.lang_parse_clickcopyurl+')">' + date(toot.createdAt, datetype) + '' + '
' + '
'+tickerdom+'' + content + @@ -814,23 +814,23 @@ function misskeyParse(obj, mix, acct_id, tlid, popup, mutefilter) { '
' + + '\')" class="waves-effect waves-dark btn-flat" style="padding:0" title="'+lang.lang_parse_replyto+'">
' + '
' + '
' + + ',\'misskey.xyz\',\'misskey.xyz\')" class="waves-effect waves-dark btn-flat" style="padding:0" title="'+lang.lang_misskeyparse_renoteqt+'">' + '
' + '
' + + ')" class="waves-effect waves-dark btn-flat" style="padding:0" title="'+lang.lang_parse_del+'">' + '
' + ')" class="waves-effect waves-dark btn-flat" style="padding:0" title="'+lang.lang_parse_pin+'">' +''+trans+ @@ -867,7 +867,7 @@ function misskeyUserparse(obj, auth, acct_id, tlid, popup) { var ftxt=lang.lang_parse_followed; if(popup > 0 || popup==-1){ var notftext='' + date(toot.createdAt, + 'absolute') + '('+lang.lang_parse_notftime+')">' + date(toot.createdAt, datetype) + ''+ftxt+'
'; var toot = toot.user; diff --git a/app/js/tl/parse.js b/app/js/tl/parse.js index 09655679..54e73beb 100644 --- a/app/js/tl/parse.js +++ b/app/js/tl/parse.js @@ -236,9 +236,9 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) { var icon = "fa-tasks purple-text"; } var noticetext = '' + date(toot.created_at, + 'absolute') + '('+lang.lang_parse_notftime+')">' + date(toot.created_at, datetype) + - '
' + dis_name + "(@" + toot.account.acct + ")"; @@ -334,7 +334,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) { }else if(localStorage.getItem("domain_" + acct_id)=="mstdn.osaka" && !locale){ rebtxt = "がしばいた"; } - var notice = ''+ dis_name + "(@" + toot.account.acct + + var notice = ''+ dis_name + "(@" + toot.account.acct + ")
"; var boostback = "shared"; var uniqueid=toot.id; @@ -387,7 +387,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) { var divider = '
'; } if (toot.account.locked) { - var locked = ' '; + var locked = ' '; } else { var locked = ""; } @@ -735,7 +735,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) { poll=poll+'
'+escapeHTML(choice.title)+'('+choice.votes_count+')
'; }); poll='
'+poll+myvote+'' + + '">' + ended+ '
'; } templete = templete + '
' + + '('+lang.lang_parse_clickcopyurl+')">' + date(toot.created_at, datetype) + '' + '
' + '
'+tickerdom+'' + replyct + + '\')" class="waves-effect waves-dark btn-flat actct" style="padding:0" title="'+lang.lang_parse_replyto+'">' + replyct + '
' + '
' + toot.reblogs_count + '
' + '
' + + '\')" class="waves-effect waves-dark btn-flat actct" style="padding:0" title="'+lang.lang_parse_quote+'">' + '' + '
' + + ')" class="waves-effect waves-dark btn-flat" style="padding:0" title="'+lang.lang_parse_del+'">' + '
' + ')" class="waves-effect waves-dark btn-flat" style="padding:0" title="'+lang.lang_parse_pin+'">' +''+trans+ @@ -833,7 +833,7 @@ function userparse(obj, auth, acct_id, tlid, popup) { var notf=false; } if (toot.locked) { - var locked = ' '; + var locked = ' '; } else { var locked = ""; } diff --git a/app/js/tl/poll.js b/app/js/tl/poll.js index 31daec0e..394579d2 100644 --- a/app/js/tl/poll.js +++ b/app/js/tl/poll.js @@ -111,7 +111,7 @@ function voteMastodonrefresh(acct_id,id){ poll=poll+'
'+choice.title+'('+choice.votes_count+')
'; }); poll=poll+myvote+'' + + '">' + date(json.expires_at, datetype) + ''; $('.vote_'+acct_id+'_'+json.id).html(poll) } diff --git a/app/js/ui/layout.js b/app/js/ui/layout.js index 389117f1..59a0a1b0 100644 --- a/app/js/ui/layout.js +++ b/app/js/ui/layout.js @@ -153,15 +153,15 @@ function parseColumn() { var animecss=""; } if(acct.type=="notf"){ - var exclude=lang.lang_excluded+':
'+ - ' '+ - ' '+ - ' '+ - ' '+ + var exclude=lang.lang_excluded+':
'+ + ' '+ + ' '+ + ' '+ + ' '+ '
'; }else if(acct.type=="home"){ var exclude='Off'+lang.lang_layout_excludingbt+'
'; }else{ var exclude=""; @@ -445,7 +445,7 @@ function coloradd(key,bg,txt){ function webviewParse(url,key,insert,icnsert,css){ var html = '