ソースを参照

Version toggle: set default value to sectionVersion variable

Virgile Bello 5 年 前
コミット
fa157fca84
1 ファイル変更1 行追加1 行削除
  1. 1 1
      en/template/styles/main.js

+ 1 - 1
en/template/styles/main.js

@@ -191,7 +191,7 @@ $(function () {
         urlLanguage = '';
       }
 
-      var sectionVersion;
+      var sectionVersion = '';
       if (/manual/.test(pathVersion)) {
         sectionVersion = 'manual'
       } else if (/api/.test(pathVersion)) {