Permalink
Browse files

Fix #1433

  • Loading branch information...
1 parent 2dcd556 commit 09c7a7833c204fea9043d13f39ac111ea52fdaa6 @jfirebaugh jfirebaugh committed May 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/id/services/wikipedia.js
@@ -48,7 +48,7 @@ iD.wikipedia = function() {
}), function(d) {
var list = d.query.pages[Object.keys(d.query.pages)[0]],
translations = {};
- if (list) {
+ if (list && list.langlinks) {
list.langlinks.forEach(function(d) {
translations[d.lang] = d['*'];
});

0 comments on commit 09c7a78

Please sign in to comment.