forked from MapComplete/MapComplete
Auto-formatting
This commit is contained in:
parent
9e000d521f
commit
fed4cff878
26 changed files with 360 additions and 304 deletions
|
@ -147,8 +147,8 @@ export default class Wikipedia {
|
|||
},
|
||||
]
|
||||
}
|
||||
if(result["error"]){
|
||||
throw "Could not download: "+JSON.stringify(result)
|
||||
if (result["error"]) {
|
||||
throw "Could not download: " + JSON.stringify(result)
|
||||
}
|
||||
const el = document.createElement("html")
|
||||
el.innerHTML = result["content"].replace(/href="\//g, 'href="' + this.backend + "/")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue