Skip to content

Commit 50424b8

Browse files
committed
change head to get
1 parent 5b1be4c commit 50424b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/_static/javascripts/version_dropdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function add_version_dropdown(json_loc, target_loc, text) {
2323
a.title = key;
2424
var url = target_loc + versions[key];
2525
var http = new XMLHttpRequest();
26-
http.open('HEAD', url + "/" + path );
26+
http.open('GET', url + "/" + path );
2727
http.onreadystatechange = function() {
2828
if (this.readyState == this.DONE) {
2929
if(this.status != 404 ){

0 commit comments

Comments
 (0)