in ArticleTemplates/assets/js/modules/messenger/resize.js [7:19]
function resize(specs, iframe) {
if (!specs || !('height' in specs || 'width' in specs)) {
return null;
}
if (specs.width) {
iframe.style.width = normalise(specs.width);
}
if (specs.height) {
iframe.style.height = normalise(specs.height);
}
}