Permalink
Browse files

Fix display of fullscreen device when embedded in an in iframe.

  • Loading branch information...
eelco committed Dec 1, 2016
1 parent a65ffb2 commit 367de0bc46a51a79db1f00b9f202cbe5975f6880
Showing with 3 additions and 3 deletions.
  1. +3 −3 framer/Components/DeviceComponent.coffee
@@ -161,9 +161,6 @@ class exports.DeviceComponent extends BaseClass
_shouldRenderFullScreen: ->
- if Utils.isInsideIframe()
- return false
-
if not @_device
return true
@@ -173,6 +170,9 @@ class exports.DeviceComponent extends BaseClass
if @deviceType is "fullscreen"
return true
+ if Utils.isInsideIframe()
+ return false
+
if Utils.deviceType() is "phone" and Utils.deviceType() is @_device.deviceType
return true

0 comments on commit 367de0b

Please sign in to comment.