Permalink
Browse files

Always render the device if we're embedded in an iframe

  • Loading branch information...
koenbok committed Sep 14, 2016
1 parent dc920bd commit a7367a7d2b3a2340e99d8c1de705c2d8cda809a7
Showing with 6 additions and 0 deletions.
  1. +3 −0 framer/Components/DeviceComponent.coffee
  2. +3 −0 framer/Utils.coffee
@@ -161,6 +161,9 @@ class exports.DeviceComponent extends BaseClass
_shouldRenderFullScreen: ->
if Utils.isInsideIframe()
return false
if not @_device
return true
View
@@ -631,6 +631,9 @@ Utils.loadImage = (url, callback, context) ->
element.src = url
Utils.isInsideIframe = ->
return window isnt window.top
######################################################
# GEOMETRY FUNCTIONS

0 comments on commit a7367a7

Please sign in to comment.