From 2844a203d58b99644c04843a48060f5e9b59fb91 Mon Sep 17 00:00:00 2001 From: eberhab Date: Mon, 4 Jul 2016 11:00:43 +0200 Subject: [PATCH] iframe width relates to sidebar width (#44) --- helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper.js b/helper.js index beb23c4..5343980 100644 --- a/helper.js +++ b/helper.js @@ -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)