Skip to content
Permalink
Browse files

Fix jp2 override

  • Loading branch information...
koenbok committed Jun 24, 2015
1 parent 2c7d9b6 commit c4371eee4ad685014a3efa0876e8cbbcba49bcd1
Showing with 1 addition and 1 deletion.
  1. +1 −1 framer/Components/DeviceComponent.coffee
@@ -283,7 +283,7 @@ class exports.DeviceComponent extends BaseClass
else
resourceUrl = "//resources.framerjs.com/static/DeviceResources"

if Utils.isJP2Supported() and @_device.deviceImageJP2? is true
if Utils.isJP2Supported() and @_device.deviceImageJP2 isnt false
return "#{resourceUrl}/#{name.replace(".png", ".jp2")}"
else
return "#{resourceUrl}/#{name}"

0 comments on commit c4371ee

Please sign in to comment.
You can’t perform that action at this time.