Skip to content

Commit 96ed665

Browse files
fixed whitespace and removed entry in version array
1 parent 62afeaa commit 96ed665

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

templates/mrtk/styles/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

web/version.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)