diff --git a/_static/version_switch.js b/_static/version_switch.js index 2c55d4b6..af2be63c 100644 --- a/_static/version_switch.js +++ b/_static/version_switch.js @@ -1,7 +1,7 @@ (async function() { 'use strict'; - const content_root = document.documentElement.dataset.content_root; + const content_root = './'; async function getVersions() { try { diff --git a/git-develop/_static/version_switch.js b/git-develop/_static/version_switch.js index 2c55d4b6..af2be63c 100644 --- a/git-develop/_static/version_switch.js +++ b/git-develop/_static/version_switch.js @@ -1,7 +1,7 @@ (async function() { 'use strict'; - const content_root = document.documentElement.dataset.content_root; + const content_root = './'; async function getVersions() { try {