parent
d352b2c607
commit
67e0caa2fe
|
@ -1,4 +1,6 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
## v0.2.6
|
||||||
|
- Fix old versions banner on nested pages
|
||||||
## v0.2.5
|
## v0.2.5
|
||||||
- Fix docs deploy typo
|
- Fix docs deploy typo
|
||||||
## v0.2.4
|
## v0.2.4
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
window.addEventListener("DOMContentLoaded", function() {
|
window.addEventListener("DOMContentLoaded", function() {
|
||||||
var xhr = new XMLHttpRequest();
|
var xhr = new XMLHttpRequest();
|
||||||
xhr.open("GET", window.location + "../versions.json");
|
xhr.open("GET", window.location.origin + "/versions.json");
|
||||||
xhr.onload = function() {
|
xhr.onload = function() {
|
||||||
var versions = JSON.parse(this.responseText);
|
var versions = JSON.parse(this.responseText);
|
||||||
latest_version = ""
|
latest_version = ""
|
||||||
|
|
Loading…
Reference in New Issue