Etherpad fills all horizontal space.

This commit is contained in:
yanas 2014-03-27 22:59:15 +01:00
parent 2cbdc43e78
commit 7298e4df4a
1 changed files with 0 additions and 5 deletions

View File

@ -81,11 +81,6 @@ var Etherpad = (function (my) {
= window.innerHeight - remoteVideos.outerHeight();
var availableWidth = Util.getAvailableVideoWidth();
var aspectRatio = 16.0 / 9.0;
if (availableHeight < availableWidth / aspectRatio) {
availableWidth = Math.floor(availableHeight * aspectRatio);
}
$('#etherpad>iframe').width(availableWidth);
$('#etherpad>iframe').height(availableHeight);
}