Browse Source

Version toggle: set default value to sectionVersion variable

Virgile Bello 5 years ago
parent
commit
fa157fca84
1 changed files with 1 additions and 1 deletions
  1. 1 1
      en/template/styles/main.js

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

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