From a2c90e78c8a1d69f66c35497a4341295b24713b0 Mon Sep 17 00:00:00 2001 From: David Del Prado Date: Thu, 17 Sep 2020 17:59:21 +0200 Subject: [PATCH] fix: override default iframe border so it's really hidden --- 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 d69089f..76dfd55 100644 --- a/src/js/init.js +++ b/src/js/init.js @@ -103,7 +103,7 @@ export default { printFrame.setAttribute('style', 'width: 1px; height: 100px; position: fixed; left: 0; top: 0; opacity: 0; border-width: 0; margin: 0; padding: 0') } else { // Hide the iframe in other browsers - printFrame.setAttribute('style', 'visibility: hidden; height: 0; width: 0; position: absolute;') + printFrame.setAttribute('style', 'visibility: hidden; height: 0; width: 0; position: absolute; border: 0') } // Set iframe element id