mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-18 01:16:56 +00:00
save/recover state
This commit is contained in:
@@ -79,10 +79,7 @@ $(function() {
|
||||
|
||||
// bind close event
|
||||
// 保存当前打开的笔记
|
||||
win.on('close', function() {
|
||||
// TODO
|
||||
win.close(true);
|
||||
});
|
||||
|
||||
win.on('focus', function() {
|
||||
console.log('window is focused ');
|
||||
});
|
||||
|
Reference in New Issue
Block a user