* [misc] Fix issues of code review.
This commit is contained in:
@@ -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
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user