Skip to content

Commit f118301

Browse files
committed
Update index.html
1 parent 8b91698 commit f118301

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

2012/02/crossref-formatted-citations/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ <h2 class="loaded">Formatted citation</h2>
7373
$.getJSON("http://api.crossref.org/locales")
7474
)
7575
.done(function(stylesResponse, localesResponse){
76-
var styles = stylesResponse.message.items;
76+
var styles = stylesResponse[0].message.items;
7777
styles.sort();
7878

79-
var locales = localesResponse.message.items;
79+
var locales = localesResponse[0].message.items;
8080
locales.sort();
8181

8282
var form = $("#input");

0 commit comments

Comments
 (0)