From 012aae7c3dc94cbfd28d36f1dcb85f1b574b02de Mon Sep 17 00:00:00 2001 From: Rodrigo Vieira Date: Wed, 14 Mar 2018 12:13:42 -0400 Subject: [PATCH] change iframe style hidden style --- src/js/init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/init.js b/src/js/init.js index 4fc7fa0..cb54bca 100644 --- a/src/js/init.js +++ b/src/js/init.js @@ -105,7 +105,7 @@ export default { printFrame = document.createElement('iframe') // Hide iframe - printFrame.setAttribute('style', 'display:none;') + printFrame.setAttribute('style', 'visibility: hidden; height: 0; width: 0;') // Set element id printFrame.setAttribute('id', params.frameId)