Skip to content

Commit

Permalink
change iframe style hidden style
Browse files Browse the repository at this point in the history
  • Loading branch information
crabbly committed Mar 14, 2018
1 parent 278121f commit 012aae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 012aae7

Please sign in to comment.