mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 19:49:01 +01:00 
			
		
		
		
	fix #248: crossorigin attribute is needed when including with type="module"
For more info, see: * https://html.spec.whatwg.org/multipage/urls-and-fetching.html#cors-settings-attributes * https://jakearchibald.com/2017/es-modules-in-browsers
This commit is contained in:
		
							parent
							
								
									ee0b0c3dfe
								
							
						
					
					
						commit
						cb00d42546
					
				| @ -236,7 +236,7 @@ | |||||||
| 
 | 
 | ||||||
|     <link href="/stylesheets/style.css" rel="stylesheet"> |     <link href="/stylesheets/style.css" rel="stylesheet"> | ||||||
| 
 | 
 | ||||||
|     <script src="/javascripts/services/bootstrap.js" type="module"></script> |     <script src="/javascripts/services/bootstrap.js" crossorigin type="module"></script> | ||||||
| 
 | 
 | ||||||
|     <link rel="stylesheet" type="text/css" href="/libraries/jam/css/jam.min.css"> |     <link rel="stylesheet" type="text/css" href="/libraries/jam/css/jam.min.css"> | ||||||
| 
 | 
 | ||||||
| @ -250,4 +250,4 @@ | |||||||
|       <%= appCss %> |       <%= appCss %> | ||||||
|     </style> |     </style> | ||||||
|   </body> |   </body> | ||||||
| </html> | </html> | ||||||
|  | |||||||
| @ -129,6 +129,6 @@ | |||||||
| 
 | 
 | ||||||
| <script src="/libraries/knockout.min.js"></script> | <script src="/libraries/knockout.min.js"></script> | ||||||
| 
 | 
 | ||||||
| <script src="/javascripts/setup.js" type="module"></script> | <script src="/javascripts/setup.js" crossorigin type="module"></script> | ||||||
| </body> | </body> | ||||||
| </html> | </html> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Julien Nicoulaud
						Julien Nicoulaud