Reformat index
This commit is contained in:
		
					parent
					
						
							
								ab6ff76d96
							
						
					
				
			
			
				commit
				
					
						5f008af9da
					
				
			
		
					 1 changed files with 6 additions and 6 deletions
				
			
		
							
								
								
									
										12
									
								
								index.php
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								index.php
									
										
									
									
									
								
							|  | @ -4,13 +4,13 @@ | ||||||
| <head> | <head> | ||||||
|     <?php include("./includes/head.inc.php"); ?>
 |     <?php include("./includes/head.inc.php"); ?>
 | ||||||
|     <script> |     <script> | ||||||
|     window.onload = () => { |         window.onload = () => { | ||||||
|         $('#moonImg').attr('src', '/images/moon.png?' + Date.now()); |  | ||||||
|         // update the moon image every 20 minutes if the page is left open
 |  | ||||||
|         setInterval(() => { |  | ||||||
|             $('#moonImg').attr('src', '/images/moon.png?' + Date.now()); |             $('#moonImg').attr('src', '/images/moon.png?' + Date.now()); | ||||||
|         }, 1200000); |             // update the moon image every 20 minutes if the page is left open
 | ||||||
|     }; |             setInterval(() => { | ||||||
|  |                 $('#moonImg').attr('src', '/images/moon.png?' + Date.now()); | ||||||
|  |             }, 1200000); | ||||||
|  |         }; | ||||||
|     </script> |     </script> | ||||||
| </head> | </head> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 floppydiskette
				floppydiskette