fixed theme switcher
This commit is contained in:
		
							parent
							
								
									1353351c0e
								
							
						
					
					
						commit
						d6f88dacf8
					
				
					 2 changed files with 4 additions and 2 deletions
				
			
		|  | @ -7,6 +7,7 @@ | |||
| 
 | ||||
| <head> | ||||
|     <title>{{ i18n.title }}</title> | ||||
|     <script type="text/javascript" src="{{ url_for('static', filename='/js/toggle.js') }}?t={{ epoch }}"></script> | ||||
|     <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='/css/base.css') }}?t={{ epoch }}"> | ||||
|     <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='/css/colors.css') }}?t={{ epoch }}"> | ||||
|     {%- if config.animations == "1" or config.animations == "true" %} | ||||
|  | @ -38,6 +39,9 @@ | |||
|             {%- endblock %} | ||||
|         </div> | ||||
|     </div> | ||||
|     <script type="text/javascript"> | ||||
|         initToggle(); | ||||
|     </script> | ||||
| </body> | ||||
| 
 | ||||
| </html> | ||||
|  | @ -1,7 +1,6 @@ | |||
| {% extends 'base.html' %} | ||||
| 
 | ||||
| {% block main %} | ||||
|         <script type="text/javascript" src="{{ url_for('static', filename='/js/toggle.js') }}?t={{ epoch }}"></script> | ||||
|         <script type="text/javascript" src="{{ url_for('static', filename='/js/autoReload.js') }}?t={{ epoch }}"></script> | ||||
|         <script type="text/javascript" src="{{ url_for('static', filename='/js/shortcut.js') }}?t={{ epoch }}"></script> | ||||
| 
 | ||||
|  | @ -38,7 +37,6 @@ | |||
|         </div> | ||||
| 
 | ||||
|         <script type="text/javascript"> | ||||
|             initToggle(); | ||||
|             autoReload(); | ||||
|             monitorRadio(); | ||||
|         </script> | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue