Permalink
Browse files

Prevent an error from showing in the snapshot if Framer.Extras.ShareI…

…nfo.enable() is used.
  • Loading branch information...
eelco committed Aug 30, 2016
1 parent dca9008 commit d5c63b3b26d555c80d454a586fe944c9263e4cdf
Showing with 1 addition and 1 deletion.
  1. +1 −1 framer/Components/ShareComponent.coffee
@@ -278,7 +278,7 @@ class ShareComponent
height: 16
# If we miss a title from the json metadata, we fallback to the document url
fallbackTitle = _.replace(FramerStudioInfo.documentTitle, /\.framer$/, "")
fallbackTitle = _.replace(FramerStudioInfo?.documentTitle, /\.framer$/, "")
@credentialsTitle = new ShareLayer
parent: @credentials

0 comments on commit d5c63b3

Please sign in to comment.