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