diff --git a/src/atom/modal.coffee b/src/atom/modal.coffee index bc83e981a..f01d478ca 100644 --- a/src/atom/modal.coffee +++ b/src/atom/modal.coffee @@ -62,7 +62,7 @@ class Modal atom.trigger 'modal:hide', this toggle: -> - if @showing? + if @showing @hide() else @show()