MediaWiki:Common.js: Difference between revisions
Dragon 12dk (talk | contribs) No edit summary |
Dragon 12dk (talk | contribs) No edit summary |
||
| Line 17: | Line 17: | ||
function sendHeight() { | function sendHeight() { | ||
var h = document.body ? document.body.scrollHeight : 0; | var h = document.body ? document.body.scrollHeight : 0; | ||
if ( h > 0 ) window.parent.postMessage( { embedHeight: h }, '*' ); | if ( h > 0 ) window.parent.postMessage( { embedHeight: h + 20 }, '*' ); | ||
} | } | ||