TheDesk Akane (16.0.3)

This commit is contained in:
cutls 2018-08-06 10:15:57 +09:00
parent c21cacf180
commit b29da449f0
4 changed files with 21 additions and 17 deletions

View File

@ -26,8 +26,7 @@
<script type="text/javascript" src="./js/common/modal.js"></script>
<script type="text/javascript" src="./js/ui/jquery-ui.min.js"></script>
<script>
//Fav/BT数直せ
var ver="Akane (16.0.2)";
var ver="Akane (16.0.3)";
//betaを入れるとバージョンチェックしない
//GitHubに上げるときはindex.htmlをちゃんとする。(index.start.html)
//var ver="beta";
@ -522,14 +521,19 @@ var lang="{{lang}}";
<h3>TheDesk</h3>
<a href="https://thedesk.top" target="_blank">HP</a><br>
<a href="https://github.com/cutls/TheDesk" target="_blank">GitHub</a><br><br>
<div id="release-Akane_16-0-2" style="display:none">
<h5>Release Note Akane (16.0.2)</h5>
<b>アップデートでTLが表示できなくなったユーザー様へ</b><br>
<div id="release-Akane_16-0-3" style="display:none">
<h5>Release Note Akane (16.0.3)</h5>
<b>Mio->AkaneアップデートでTLが表示できなくなったユーザー様へ</b><br>
16.0.1で設定のインポート/エクスポートを実装いたしました。<br>
設定より一度エクスポートしていただき、もう一度インポートすることにより正常に動作すると思われます。<br>
<u>開発環境でこのバグが再現できなかったため、あくまでも憶測による対処です。</u><br>
<br>
ご迷惑をおかけいたしましたことを深くお詫び申し上げます。<br>
16.0.3<br>
<ul>
<li>Misskey周りの改善</li>
<li>Fav/BT/Reply数の表示バグ修正(β)</li>
</ul>
16.0.2<br>
<ul>
<li>CWの固定</li>

View File

@ -165,18 +165,18 @@ function misskeyParse(obj, mix, acct_id, tlid, popup, mutefilter) {
if (popup >= 0 && obj.length < 5 && noticetext != memory) {
if (toot.type == "reply") {
var replyct=localStorage.getItem("notf-reply_" + acct_id)
$(".notf-reply_" + acct_id).text(replyct*1+1);
localStorage.setItem("notf-reply_" + acct_id,replyct*1+1)
$(".notf-reply_" + acct_id).text(replyct*1-(-1));
localStorage.setItem("notf-reply_" + acct_id,replyct*1-(-1))
$(".notf-reply_" + acct_id).removeClass("hide")
}else if (toot.type == "renote" || toot.type=="quote") {
var btct=localStorage.getItem("notf-bt_" + acct_id)
$(".notf-bt_" + acct_id).text(btct*1+1);
localStorage.setItem("notf-bt_" + acct_id,btct*1+1)
localStorage.setItem("notf-bt_" + acct_id,btct*1-(-1))
$(".notf-bt_" + acct_id).removeClass("hide")
}else if (toot.type == "reaction") {
var favct=localStorage.getItem("notf-fav_" + acct_id)
$(".notf-fav_" + acct_id).text(favct*1+1);
localStorage.setItem("notf-fav_" + acct_id,favct*1+1)
$(".notf-fav_" + acct_id).text(favct*1-(-1));
localStorage.setItem("notf-fav_" + acct_id,favct*1-(-1))
$(".notf-fav_" + acct_id).removeClass("hide")
}
var domain = localStorage.getItem("domain_" + acct_id);

View File

@ -183,18 +183,18 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter) {
if (popup >= 0 && obj.length < 5 && noticetext != memory) {
if (toot.type == "mention") {
var replyct=localStorage.getItem("notf-reply_" + acct_id)
$(".notf-reply_" + acct_id).text(replyct*1+1);
localStorage.setItem("notf-reply_" + acct_id,replyct*1+1)
$(".notf-reply_" + acct_id).text(replyct*1-(-1));
localStorage.setItem("notf-reply_" + acct_id,replyct*1-(-1))
$(".notf-reply_" + acct_id).removeClass("hide")
}else if (toot.type == "reblog") {
var btct=localStorage.getItem("notf-bt_" + acct_id)
$(".notf-bt_" + acct_id).text(btct*1+1);
localStorage.setItem("notf-bt_" + acct_id,btct*1+1)
$(".notf-bt_" + acct_id).text(btct*1-(-1));
localStorage.setItem("notf-bt_" + acct_id,btct*1-(-1))
$(".notf-bt_" + acct_id).removeClass("hide")
}else if (toot.type == "favourite") {
var favct=localStorage.getItem("notf-fav_" + acct_id)
$(".notf-fav_" + acct_id).text(favct*1+1);
localStorage.setItem("notf-fav_" + acct_id,favct*1+1)
$(".notf-fav_" + acct_id).text(favct*1-(-1));
localStorage.setItem("notf-fav_" + acct_id,favct*1-(-1))
$(".notf-fav_" + acct_id).removeClass("hide")
}
var domain = localStorage.getItem("domain_" + acct_id);

View File

@ -1,6 +1,6 @@
{
"name": "thedesk",
"version": "16.0.2",
"version": "16.0.3",
"description": "TheDesk is a Mastodon client for PC.",
"main": "main.js",
"scripts": {