fix: non-SPA fn defs (closes #154)
This commit is contained in:
		
							parent
							
								
									0896814959
								
							
						
					
					
						commit
						8d7a7b712f
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		| 
						 | 
					@ -127,8 +127,11 @@
 | 
				
			||||||
      navigate: (url) => (window.location.href = url),
 | 
					      navigate: (url) => (window.location.href = url),
 | 
				
			||||||
      prefetch: () => {},
 | 
					      prefetch: () => {},
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    window.addEventListener("DOMContentLoaded", () => {
 | 
				
			||||||
      init()
 | 
					      init()
 | 
				
			||||||
      render()
 | 
					      render()
 | 
				
			||||||
 | 
					    })
 | 
				
			||||||
  </script>
 | 
					  </script>
 | 
				
			||||||
  {{end}}
 | 
					  {{end}}
 | 
				
			||||||
</head>
 | 
					</head>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue