5 lines
		
	
	
	
		
			143 B
			
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
	
		
			143 B
			
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| const errorBtn = document.getElementById('error-dialog')
 | |
| 
 | |
| errorBtn.addEventListener('click', () => {
 | |
|   window.electronAPI.openErrorDialog()
 | |
| })
 | 
