Skip to content

Commit b9a2938

Browse files
authored
Merge pull request #479 from dpramar/fix-iframe-border
Override default iframe border so it's really hidden
2 parents 3e262b9 + a2c90e7 commit b9a2938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/init.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export default {
103103
printFrame.setAttribute('style', 'width: 1px; height: 100px; position: fixed; left: 0; top: 0; opacity: 0; border-width: 0; margin: 0; padding: 0')
104104
} else {
105105
// Hide the iframe in other browsers
106-
printFrame.setAttribute('style', 'visibility: hidden; height: 0; width: 0; position: absolute;')
106+
printFrame.setAttribute('style', 'visibility: hidden; height: 0; width: 0; position: absolute; border: 0')
107107
}
108108

109109
// Set iframe element id

0 commit comments

Comments
 (0)