forked from MapComplete/MapComplete
		
	Merge branch 'develop' of source.mapcomplete.org:MapComplete/MapComplete into feature/android-capacitator
This commit is contained in:
		
						commit
						0897061f27
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -1,4 +1,5 @@
 | 
				
			||||||
import MetaTagging from "./src/Logic/MetaTagging"
 | 
					import MetaTagging from "./src/Logic/MetaTagging"
 | 
				
			||||||
 | 
					import ThemeConfig from "./src/Models/ThemeConfig/ThemeConfig"
 | 
				
			||||||
import SingleThemeGui from "./src/UI/SingleThemeGui.svelte"
 | 
					import SingleThemeGui from "./src/UI/SingleThemeGui.svelte"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -10,7 +11,7 @@ async function main() {
 | 
				
			||||||
        const childs = Array.from(target.children)
 | 
					        const childs = Array.from(target.children)
 | 
				
			||||||
        new SingleThemeGui({
 | 
					        new SingleThemeGui({
 | 
				
			||||||
            target,
 | 
					            target,
 | 
				
			||||||
            props: { theme },
 | 
					            props: { theme: new ThemeConfig(theme, true, {definitionRaw: theme}) },
 | 
				
			||||||
        })
 | 
					        })
 | 
				
			||||||
        childs.forEach(ch => target.removeChild(ch))
 | 
					        childs.forEach(ch => target.removeChild(ch))
 | 
				
			||||||
        Array.from(document.getElementsByClassName("delete-on-load")).forEach(el => {
 | 
					        Array.from(document.getElementsByClassName("delete-on-load")).forEach(el => {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue