mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Capture window.close calls (from JS) in AtomController
This commit is contained in:
@@ -146,4 +146,8 @@
|
||||
return defaultMenuItems;
|
||||
}
|
||||
|
||||
- (void)webViewClose:(WebView *)sender { // Triggered when closed from javascript
|
||||
[self close];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user