korektury | Skryvani korektur i s komentari.
This commit is contained in:
		
							parent
							
								
									9456807a80
								
							
						
					
					
						commit
						f3394c7cc0
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		|  | @ -126,7 +126,7 @@ function img_click(element, ev) { | |||
| function toggle_visibility(button){ | ||||
| 	var divbox = button.parentNode.parentNode.parentNode; | ||||
| 	var id = divbox.id; | ||||
| 	var text = document.getElementById(id+'-text'); | ||||
| 	var text = document.getElementById(id+'-body'); | ||||
| 	if (text.style.display == 'none'){ | ||||
| 		text.style.display = 'block'; | ||||
| 	}else { | ||||
|  |  | |||
|  | @ -150,6 +150,7 @@ | |||
| 
 | ||||
| 			</div> | ||||
| 		</div> | ||||
| 		<div class='corr-body' id='op{{o.id}}-body'> | ||||
| 		<div id='op{{o.id}}-text'>{{o.text}}</div> | ||||
| 
 | ||||
| 		{% for k in o.komentare %} | ||||
|  | @ -178,6 +179,7 @@ | |||
| 			<div id='kt{{k.id}}'>{{k.text}}</div> | ||||
| 		</div> | ||||
| 		{% endfor %}  | ||||
| 		</div> | ||||
| 	</div>	 | ||||
| 	{% endfor %} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue