mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Fixed cross site json call bug.
This commit is contained in:
parent
efde54e1e3
commit
4e146d686f
@ -17,9 +17,10 @@
|
||||
<script type="text/javascript" src="assets/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
var milestonesUrl = "https://api.github.com/repos/marcuswhybrow/minecraft-server-manager/milestones";
|
||||
var milestonesUrl = "https://api.github.com/repos/marcuswhybrow/minecraft-server-manager/milestones?callback=?";
|
||||
|
||||
$.getJSON(milestonesUrl, function(milestones) {
|
||||
$.getJSON(milestonesUrl, function(result) {
|
||||
var milestones = result.data;
|
||||
|
||||
$.each(milestones, function(i, milestone) {
|
||||
var closedIssues = milestone.closed_issues;
|
||||
|
Loading…
Reference in New Issue
Block a user