From f08fe2510545785cb8281beb588cb48521fbeafa Mon Sep 17 00:00:00 2001 From: briandennis Date: Thu, 1 Feb 2018 17:40:36 -0600 Subject: [PATCH] add /image api endpoint, use it to get carbon image if on safari --- pages/editor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/editor.js b/pages/editor.js index 5cd9ecb..09350b1 100644 --- a/pages/editor.js +++ b/pages/editor.js @@ -109,6 +109,7 @@ class Editor extends React.Component { return api.image(window.location.href) } + const node = document.getElementById('export-container') const exportSize = (EXPORT_SIZES_HASH[this.state.exportSize] || DEFAULT_EXPORT_SIZE).value