Merge branch 'wip_MDL-46480_m26_footernan' of git://github.com/skodak/moodle into MOODLE_26_STABLE
This commit is contained in:
@@ -346,7 +346,11 @@ M.util.init_maximised_embed = function(Y, id) {
|
||||
if (val == 'auto') {
|
||||
val = el.getComputedStyle(prop);
|
||||
}
|
||||
return parseInt(val);
|
||||
val = parseInt(val);
|
||||
if (isNaN(val)) {
|
||||
return 0;
|
||||
}
|
||||
return val;
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user