Close button handler
This commit is contained in:
parent
b7e0de3e41
commit
6b0423ebb0
|
@ -14,6 +14,8 @@ const
|
|||
$btnSave = $('#btnSave'),
|
||||
$btnUpdate = $('#btnUpdate');
|
||||
|
||||
$closeeditor.on('click', e => window.close());
|
||||
|
||||
ipcRenderer.on('set-css', (_, data) => {
|
||||
if (data.error) {
|
||||
alert(data.error);
|
||||
|
|
Loading…
Reference in New Issue