diff --git a/script/main.js b/script/main.js index 23342ae..1440f7e 100644 --- a/script/main.js +++ b/script/main.js @@ -1,6 +1,7 @@ var SiteDir = ""; var DisableEmscripted = false; +var algorithmsVersion = 1; var application = new Application(document, window); @@ -654,7 +655,7 @@ function postLoadPage() else { var script = document.createElement('script'); - script.src = "/" + SiteDir + "script/" + scriptList[0]; + script.src = "/" + SiteDir + "script/" + scriptList[0] + "?v=" + algorithmsVersion; scriptList.shift(); script.onload = loadOneScript; script.onerror = loadOneScript; diff --git a/tpl/home.php b/tpl/home.php index 22dec6d..b77a602 100755 --- a/tpl/home.php +++ b/tpl/home.php @@ -10,7 +10,7 @@ - +