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