Skip to content

Commit

Permalink
Merge pull request #15 from cwtickle/develop
Browse files Browse the repository at this point in the history
[ti-7.4] 特殊文字対応に伴い、曲名・アーティスト名をHTML対応させるよう変更
  • Loading branch information
cwtickle authored May 9, 2020
2 parents 9775645 + 2748db8 commit 3fba2f4
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 3fba2f4

Please sign in to comment.