Fix bugu, kdy se na apríla objeví na chvíli stránka normálně
This commit is contained in:
		
							parent
							
								
									afff7973fe
								
							
						
					
					
						commit
						f1aa2d6368
					
				
					 2 changed files with 3 additions and 4 deletions
				
			
		|  | @ -169,10 +169,8 @@ | |||
| 		return Math.floor(360*Math.random()); | ||||
| 	} | ||||
| 
 | ||||
| 	$(document).ready(function(){ | ||||
| 	$('.container').css('margin', 0); | ||||
| 	rotace_a_posun($('.container'), randomUhel()); | ||||
| 	}); | ||||
| 	</script> | ||||
| 	{% endif %} | ||||
|     {% render_block "js" %} | ||||
|  |  | |||
|  | @ -1,4 +1,5 @@ | |||
| def april(req): | ||||
| 	return {'april': 2021} | ||||
| 	if 'X-April' in req.headers: | ||||
| 		try: | ||||
| 			year = int(req.headers['X-April']) | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Pavel "LEdoian" Turinsky
						Pavel "LEdoian" Turinsky