iframe width relates to sidebar width (#44)

This commit is contained in:
eberhab 2016-07-04 11:00:43 +02:00 committed by PetaByteBoy // Milan Pässler
parent 1b332508a0
commit 2844a203d5

View file

@ -154,7 +154,7 @@ function attributeEntry(el, label, value) {
function createIframe(opt, width, height) {
el = document.createElement("iframe")
width = typeof width !== 'undefined' ? width : '525px'
width = typeof width !== 'undefined' ? width : '100%'
height = typeof height !== 'undefined' ? height : '350px'
if (opt.src)