Merge branch 'wip_MDL-36499_M27' of git://github.com/gjb2048/moodle into MOODLE_27_STABLE
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user