Skip to content

Commit 4838e92

Browse files
Benjamin Wilson Friedmanflovilmart
Benjamin Wilson Friedman
authored andcommitted
Adjusts the platform variable to retrieve the proper index from the pathname (#443)
1 parent 3bdc0cc commit 4838e92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/js/bundle.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@
801801
hljs.highlightBlock(block);
802802
});
803803

804-
var platform = window.location.pathname.split('/')[2];
804+
var platform = window.location.pathname.split('/')[1];
805805
if (platform) {
806806
new App.Views.Docs.Main({
807807
language: 'en',

0 commit comments

Comments
 (0)