diff --git a/lib/bigvideo.js b/lib/bigvideo.js index d134235..ab3178c 100755 --- a/lib/bigvideo.js +++ b/lib/bigvideo.js @@ -65,7 +65,7 @@ if (settings.container.is($('body'))) { $('html,body').css('height',$(window).height() > $('body').css('height','auto').height() ? '100%' : 'auto'); } - if (!settings.container.is($('body')) && settings.expand + if (!settings.container.is($('body')) && settings.expand) { settings.container.width($(window).width()); settings.container.height($(window).height()); }