mirror of
https://github.com/atom/atom.git
synced 2026-02-14 08:35:11 -05:00
Don't allow core:close event to bubble out of Pane
This commit is contained in:
committed by
probablycorey
parent
8f980a0f20
commit
2ba63e608f
@@ -68,6 +68,7 @@ class Pane extends View
|
||||
|
||||
removeCurrentItem: =>
|
||||
@removeItem(@currentItem)
|
||||
false
|
||||
|
||||
removeItem: (item) ->
|
||||
@showNextItem() if item is @currentItem and @items.length > 1
|
||||
|
||||
Reference in New Issue
Block a user