mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-20 01:53:28 +00:00
Fix #1433
This commit is contained in:
@@ -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['*'];
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user