Skip to content

Commit

Permalink
[ti-7.4] 特殊文字対応に伴い、曲名・アーティスト名をHTML対応させるよう変更
Browse files Browse the repository at this point in the history
  • Loading branch information
cwtickle committed May 9, 2020
1 parent ca88edd commit 2748db8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/danoni_custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function customLoadingProgress(_event) {
function customTitleInit() {

// バージョン表記
g_localVersion = `ti-7.3`;
g_localVersion = `ti-7.4`;

// 製作者のデフォルトアドレス
if (g_headerObj.creatorUrl === location.href) {
Expand All @@ -56,10 +56,10 @@ function customTitleInit() {

// 楽曲タイトル、アーティスト名の自動反映(Thanks: MFV2さん)
if (document.getElementById(`musicTitle`) !== null) {
document.getElementById(`musicTitle`).innerText = g_headerObj.musicTitle;
document.getElementById(`musicTitle`).innerHTML = g_headerObj.musicTitle;
}
if (document.getElementById(`artistName`) !== null) {
document.getElementById(`artistName`).innerText = g_headerObj.artistName;
document.getElementById(`artistName`).innerHTML = g_headerObj.artistName;
document.getElementById(`artistName`).href = g_headerObj.artistUrl;
}

Expand Down

0 comments on commit 2748db8

Please sign in to comment.