forked from MapComplete/MapComplete
		
	Fix the broken initial location
This commit is contained in:
		
							parent
							
								
									ba63ac7248
								
							
						
					
					
						commit
						f5b2ba6a06
					
				
					 4 changed files with 19 additions and 11 deletions
				
			
		
							
								
								
									
										2
									
								
								index.ts
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								index.ts
									
										
									
									
									
								
							|  | @ -36,7 +36,7 @@ if (location.hostname === "localhost" || location.hostname === "127.0.0.1") { | |||
| 
 | ||||
| // ----------------- SELECT THE RIGHT QUESTSET -----------------
 | ||||
| 
 | ||||
| let defaultLayout = "bookcases" | ||||
| let defaultLayout = "buurtnatuur" | ||||
| 
 | ||||
| const path = window.location.pathname.split("/").slice(-1)[0]; | ||||
| if (path !== "index.html" && path !== "") { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue