Skip to content

Commit

Permalink
fixed a cross-origin blocking issue when loading
Browse files Browse the repository at this point in the history
  • Loading branch information
newgene committed Jul 22, 2020
1 parent f142777 commit fc75bc8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/_static/mygene_doc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ jQuery(document).ready(function () {
if (jQuery(' .indexed-field-table ').length) {
jQuery.ajax({
url: "//mygene.info/v3/metadata/fields",
dataType: "JSONP",
jsonpCallback: "callback",
dataType: "json",
type: "GET",
success: function (data) {
jQuery.each(data, function (field, d) {
Expand Down

0 comments on commit fc75bc8

Please sign in to comment.