iframe width relates to sidebar width (#44)
This commit is contained in:
parent
1b332508a0
commit
2844a203d5
|
@ -154,7 +154,7 @@ function attributeEntry(el, label, value) {
|
||||||
|
|
||||||
function createIframe(opt, width, height) {
|
function createIframe(opt, width, height) {
|
||||||
el = document.createElement("iframe")
|
el = document.createElement("iframe")
|
||||||
width = typeof width !== 'undefined' ? width : '525px'
|
width = typeof width !== 'undefined' ? width : '100%'
|
||||||
height = typeof height !== 'undefined' ? height : '350px'
|
height = typeof height !== 'undefined' ? height : '350px'
|
||||||
|
|
||||||
if (opt.src)
|
if (opt.src)
|
||||||
|
|
Loading…
Reference in a new issue