Close button handler

This commit is contained in:
Jiiks 2018-01-17 16:39:39 +02:00
parent b7e0de3e41
commit 6b0423ebb0
1 changed files with 2 additions and 0 deletions

View File

@ -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);