File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ function createSharedTags()
44{
55 // get web root path
66 var scripts = document . getElementsByTagName ( "script" ) ;
7- var scriptPath = scripts [ scripts . length - 1 ] . src ;
7+ var scriptPath = scripts [ scripts . length - 1 ] . src ;
88 var versionIndex = scriptPath . lastIndexOf ( 'version/' ) ;
99 var rootDir = scriptPath ;
1010 if ( versionIndex > 0 )
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ function createDropdown()
33{
44 // configurable values:
55 var defaultTitle = "mrtk_development" ; // title in the dropdown for the root version of the docs
6- var versionArray = [ "" ] ; // list of all versions in the version folder
6+ var versionArray = [ ] ; // list of all versions in the version folder
77
88 //--------------------------------------
99
@@ -19,7 +19,7 @@ function createDropdown()
1919
2020 // get web root path
2121 var script = document . getElementById ( 'dropdownScript' ) ;
22- var scriptPath = script . src ;
22+ var scriptPath = script . src ;
2323 var versionIndex = scriptPath . lastIndexOf ( 'version/' ) ;
2424 var rootDir = scriptPath ;
2525 if ( versionIndex > 0 )
You can’t perform that action at this time.
0 commit comments