Debugovací výpisy smazány
This commit is contained in:
		
							parent
							
								
									7da38fbc8a
								
							
						
					
					
						commit
						b99b4ffdc4
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		|  | @ -35,7 +35,6 @@ | ||||||
|     for (let [_, opravy] of Object.entries(comments)) { |     for (let [_, opravy] of Object.entries(comments)) { | ||||||
|       for (const oprava of opravy) { |       for (const oprava of opravy) { | ||||||
|         if (stav == null || oprava.status === stav) { |         if (stav == null || oprava.status === stav) { | ||||||
|           console.log(oprava, oprava.htmlElement.getBoundingClientRect().y); |  | ||||||
|           const y = oprava.htmlElement.getBoundingClientRect().y; |           const y = oprava.htmlElement.getBoundingClientRect().y; | ||||||
|           if (y >= -1) { |           if (y >= -1) { | ||||||
|             if (dalsi) { |             if (dalsi) { | ||||||
|  | @ -44,7 +43,6 @@ | ||||||
|                 return; |                 return; | ||||||
|               } |               } | ||||||
|             } else { |             } else { | ||||||
|               console.log(predchozi); |  | ||||||
|               if (predchozi !== null) predchozi.htmlElement.scrollIntoView(); else alert("Výše už není žádná taková korektura."); |               if (predchozi !== null) predchozi.htmlElement.scrollIntoView(); else alert("Výše už není žádná taková korektura."); | ||||||
|               return; |               return; | ||||||
|             } |             } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue