TheDesk Miho (ver.6)

This commit is contained in:
cutls 2018-01-31 23:17:21 +09:00
parent 8c34f8124d
commit 108086c48a
3 changed files with 5 additions and 4 deletions

View File

@ -23,7 +23,7 @@
<script type="text/javascript" src="./js/common/keyshortcut.js"></script> <script type="text/javascript" src="./js/common/keyshortcut.js"></script>
<script type="text/javascript" src="./js/common/modal.js"></script> <script type="text/javascript" src="./js/common/modal.js"></script>
<script> <script>
var ver="Miho (ver.5)"; var ver="Miho (ver.6)";
//betaを入れるとバージョンチェックしない //betaを入れるとバージョンチェックしない
//var ver="beta"; //var ver="beta";
var acct_id=0; var acct_id=0;

View File

@ -118,8 +118,9 @@ function parseNotf(obj, popup, tlid, acct_id) {
} else if (eachobj.type == "favourite") { } else if (eachobj.type == "favourite") {
var what = "ふぁぼしました"; var what = "ふぁぼしました";
} }
var noticetext = eachobj.account.display_name + "(" + eachobj.account.acct + var noticetext = '<a onclick="udg(\'' + eachobj.account.id +
")が" + what; '\',\'' + acct_id + '\')" class="pointer">'+eachobj.account.display_name + "(" + eachobj.account.acct +
")</a>が" + what;
if (popup >= 0 && obj.length < 5) { if (popup >= 0 && obj.length < 5) {
Materialize.toast(noticetext, popup * 1000); Materialize.toast(noticetext, popup * 1000);
$(".notf-icon_" + tlid).addClass("red-text"); $(".notf-icon_" + tlid).addClass("red-text");

View File

@ -1,6 +1,6 @@
{ {
"name": "TheDesk", "name": "TheDesk",
"version": "11.5.0", "version": "11.6.0",
"description": "TheDesk on Mastodonはシンプルと多機能を両立したデスクトップ向けクライアントです", "description": "TheDesk on Mastodonはシンプルと多機能を両立したデスクトップ向けクライアントです",
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {