Permalink
Browse files

Use root div named FramerRoot

  • Loading branch information...
Koen Bok
Koen Bok committed May 12, 2013
1 parent 318b135 commit 5728949dc0e4f22ae4792cc276fe6bcbe5ac2b2f
Showing with 9 additions and 1 deletion.
  1. +9 −1 src/views/view.coffee
View
@@ -415,7 +415,15 @@ class View extends Frame
utils.domComplete @__insertElement
__insertElement: =>
document.body.appendChild @_element
if not Framer._rootElement
Framer._rootElement = document.createElement "div"
Framer._rootElement.id = "FramerRoot"
document.body.appendChild Framer._rootElement
Framer._rootElement.appendChild @_element
# document.body.appendChild @_element
destroy: ->
if @_element.parentNode

0 comments on commit 5728949

Please sign in to comment.