Commit 46028b25 authored by Marcel Stör's avatar Marcel Stör
Browse files

Fix relative path to firmware sources

parent 6a485568
...@@ -43,7 +43,7 @@ var nodemcu = nodemcu || {}; ...@@ -43,7 +43,7 @@ var nodemcu = nodemcu || {};
* replaces the relative path with an absolute path based on the selected branch. * replaces the relative path with an absolute path based on the selected branch.
*/ */
function replaceRelativeLinksWithStaticGitHubUrl() { function replaceRelativeLinksWithStaticGitHubUrl() {
var relativePath = "../../../.."; var relativePath = "../../..";
var gitHubPath = "https://github.com/nodemcu/nodemcu-firmware/tree/" + determineSelectedBranch(); var gitHubPath = "https://github.com/nodemcu/nodemcu-firmware/tree/" + determineSelectedBranch();
var gitHubLinks = $("a[href^='" + relativePath + "']").each(function (index) { var gitHubLinks = $("a[href^='" + relativePath + "']").each(function (index) {
var url = $(this).attr('href'); var url = $(this).attr('href');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment