missing args default to falsey, so dump them

This commit is contained in:
Corey Johnson 2011-09-04 15:41:38 -07:00
parent e44414ae26
commit b4944bbb46

View File

@ -24,11 +24,9 @@ class Window
el.addEventListener 'DOMNodeInsertedIntoDocument', ->
Editor.resize()
, false
el.addEventListener 'DOMNodeRemovedFromDocument', ->
Editor.resize()
, false
switch position
when 'top', 'main'