TheDesk Mio (ver.1[fixed])

This commit is contained in:
cutls 2018-05-10 01:01:06 +09:00
parent 3fa604533a
commit f19d95a2a6
5 changed files with 22 additions and 3 deletions

View File

@ -26,7 +26,7 @@
<script type="text/javascript" src="./js/ui/jquery-ui.min.js"></script>
<script>
//必ずアプデ時のremove instance消して
var ver="Mio (ver.1)";
var ver="Mio (ver.1[fixed])";
//betaを入れるとバージョンチェックしない
//var ver="beta";
var acct_id=0;

View File

@ -6,6 +6,7 @@ function re(id,at,acct_id,mode){
$("#textarea").val("@"+at+" "+te);
$("#rec").text("はい");
$("#post-acct-sel").val(acct_id);
$("#post-acct-sel").prop("disabled", true);
$('select').material_select();
$("#textarea").attr("placeholder","返信モードです。クリアするときはCtrl+Shift+Cを押してください。");
$("#textarea").focus();

View File

@ -136,6 +136,7 @@ function parse(obj, mix, acct_id, tlid, popup) {
'" class="emoji-img" data-emoji="'+shortcode+'">';
var regExp = new RegExp(":" + shortcode + ":", "g");
dis_name = dis_name.replace(regExp, emoji_url);
});
}
if (mix == "notf") {
@ -211,6 +212,23 @@ function parse(obj, mix, acct_id, tlid, popup) {
")"+rebtxt+"<br>";
var boostback = "shared";
var toot = toot.reblog;
var dis_name=escapeHTML(toot.account.display_name);
if(toot.account.emojis){
var actemojick = toot.account.emojis[0];
}else{
var actemojick=false;
}
//絵文字があれば
if (actemojick) {
Object.keys(toot.account.emojis).forEach(function(key5) {
var emoji = toot.account.emojis[key5];
var shortcode = emoji.shortcode;
var emoji_url = '<img src="' + emoji.url +
'" class="emoji-img" data-emoji="'+shortcode+'">';
var regExp = new RegExp(":" + shortcode + ":", "g");
dis_name = dis_name.replace(regExp, emoji_url);
});
}
} else {
var notice = "";
var boostback = "";

View File

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

View File

@ -1 +1 @@
{"warn":"これはGCPにアップして下さい","warn2":"これはGCPにアップして下さい","warn3":"これはGCPにアップして下さい","desk":"Mio (ver.1)","date":"2018-05-10","detail":"内部V:15.1.0|Adobeフォトエディタ/UI変更"}
{"warn":"これはGCPにアップして下さい","warn2":"これはGCPにアップして下さい","warn3":"これはGCPにアップして下さい","desk":"Mio (ver.1[fixed])","date":"2018-05-10","detail":"内部V:15.1.0|Adobeフォトエディタ/UI変更"}