mirror of
https://github.com/atom/atom.git
synced 2026-02-14 16:45:14 -05:00
Use cancel instead of detach
This commit is contained in:
@@ -55,7 +55,7 @@ class SymbolsView extends SelectList
|
||||
else
|
||||
@miniEditor.hide()
|
||||
@setError("No symbols found")
|
||||
setTimeout (=> @detach()), 2000
|
||||
setTimeout (=> @cancel()), 2000
|
||||
|
||||
toggleProjectSymbols: ->
|
||||
if @hasParent()
|
||||
@@ -75,7 +75,7 @@ class SymbolsView extends SelectList
|
||||
else
|
||||
@miniEditor.hide()
|
||||
@setError("No symbols found")
|
||||
setTimeout (=> @detach()), 2000
|
||||
setTimeout (=> @cancel()), 2000
|
||||
|
||||
confirmed : (tag) ->
|
||||
@cancel()
|
||||
|
||||
Reference in New Issue
Block a user