mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-31 04:09:33 +02:00
Fetch wmf-sitematrix from CDN.. No need to depend on it anymore.
This commit is contained in:
@@ -23,7 +23,7 @@ export function uiFieldWikipedia(field, context) {
|
||||
// be available the first time through, so things like the fetchers and
|
||||
// the language() function will not work immediately.
|
||||
let _dataWikipedia = [];
|
||||
context.data().get('wikipedia')
|
||||
context.data().get('wmf_sitematrix')
|
||||
.then(d => _dataWikipedia = d)
|
||||
.catch(() => { /* ignore */ });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user