Přesnější query (aby nebral i jiné formuláře)
This commit is contained in:
		
							parent
							
								
									7a4c8239f6
								
							
						
					
					
						commit
						9aa3a5154d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -62,5 +62,5 @@ | |||
|       .catch(error => {alert("Něco se nepovedlo:" + error);}); | ||||
|   } | ||||
| 
 | ||||
|   for (const form of document.querySelectorAll("[action='']")) form.addEventListener('submit', async event => { zmenStavKorektury(event); }); | ||||
|   for (const form of document.querySelectorAll(".corr-buttons form")) form.addEventListener('submit', async event => { zmenStavKorektury(event); }); | ||||
| </script> | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue