MDL-36499 javascript: Expand height of the file element in embedded view.

This commit is contained in:
Gareth J Barnard
2014-12-06 12:11:56 +00:00
parent ae2a9c0e66
commit 422d1c4625
+1 -1
View File
@@ -355,7 +355,7 @@ M.util.init_maximised_embed = function(Y, id) {
var headerheight = get_htmlelement_size('page-header', 'height');
var footerheight = get_htmlelement_size('page-footer', 'height');
var newheight = parseInt(Y.one('body').get('winHeight')) - footerheight - headerheight - 100;
var newheight = parseInt(Y.one('body').get('docHeight')) - footerheight - headerheight - 100;
if (newheight < 400) {
newheight = 400;
}