* [misc] Fix issues of code review.

This commit is contained in:
liugang
2025-11-06 16:20:56 +08:00
parent f319d1c424
commit 1ed5dd3e2d
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -87,7 +87,8 @@ function isOldPage(url)
* @param {string} html
* @returns {string}
*/
function extractLabelText(html) {
function extractLabelText(html)
{
return html.replace(/<[^>]*>/g, '').trim();
}
+1 -1
View File
@@ -45,7 +45,7 @@
const isTutorial = top.config.currentModule === 'tutorial';
let openedOldPage = false;
let oldPageCofnig = null;
let zinCallbacks = {
const zinCallbacks = {
onSelectLang: null,
onSelectTheme: null,
onSelectVision: null,