forked from MapComplete/MapComplete
Merge branch 'master' into develop
This commit is contained in:
commit
bc890f5476
6 changed files with 48 additions and 19 deletions
|
@ -214,9 +214,9 @@ export default class CopyrightPanel extends Combine {
|
|||
private static IconAttribution(iconPath: string): BaseUIElement {
|
||||
if (iconPath.startsWith("http")) {
|
||||
try{
|
||||
iconPath = "." + new URL(iconPath).pathname;
|
||||
iconPath = "." + new URL(iconPath).pathname;
|
||||
}catch(e){
|
||||
console.error(e)
|
||||
console.warn(e)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue