Skip to content

Commit 5b1be4c

Browse files
committed
remove callback
1 parent 11dbf78 commit 5b1be4c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

spec/_static/javascripts/version_dropdown.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ function add_version_dropdown(json_loc, target_loc, text) {
2626
http.open('HEAD', url + "/" + path );
2727
http.onreadystatechange = function() {
2828
if (this.readyState == this.DONE) {
29-
callback(this.status != 404);
3029
if(this.status != 404 ){
3130
a.href = url + "/" + path;
3231
}

0 commit comments

Comments
 (0)