From cb7c942f5957caf46ccfb65db897c78ff593486c Mon Sep 17 00:00:00 2001 From: Li ZongYing Date: Fri, 20 Dec 2024 22:05:35 +0800 Subject: [PATCH] fix a error when add a source --- HISTORY.md | 8 ++++++++ app/src/main/res/raw/index.html | 4 ++-- version.json | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index d5e75fe0..acab12b2 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,13 @@ ## 更新日誌 +### v1.3.8.10-kitkat + +* 修復新增視頻源時的錯誤 + +### v1.3.8.10 + +* 修復新增視頻源時的錯誤 + ### v1.3.8.9-kitkat * 優化EPG diff --git a/app/src/main/res/raw/index.html b/app/src/main/res/raw/index.html index 2fee450c..a3066f63 100644 --- a/app/src/main/res/raw/index.html +++ b/app/src/main/res/raw/index.html @@ -302,7 +302,7 @@

視頻源可以设置為地址/文本/文件其中之一

} const handleAdd = () => { - const addList = document.querySelectorAll('.add'); + const addList = document.querySelectorAll('.new-source'); [...addList].forEach(add => { add.value = t('add'); add.onclick = () => { @@ -369,7 +369,7 @@

視頻源可以设置為地址/文本/文件其中之一

return } - let htmlString = `
`; + let htmlString = `
`; let doc = new DOMParser().parseFromString(htmlString, 'text/html'); sourcesNew.appendChild(doc.body.firstChild); }) diff --git a/version.json b/version.json index bbac64d8..6601bff0 100644 --- a/version.json +++ b/version.json @@ -1 +1 @@ -{"version_code": 16975881, "version_name": "v1.3.8.9"} +{"version_code": 16975882, "version_name": "v1.3.8.10"}