mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
6 lines
143 B
JavaScript
6 lines
143 B
JavaScript
const errorBtn = document.getElementById('error-dialog')
|
|
|
|
errorBtn.addEventListener('click', () => {
|
|
window.electronAPI.openErrorDialog()
|
|
})
|