Add specific resize function for when the window goes out of resize mode
parent
0eb3051ca2
commit
45627c8c65
|
@ -80,6 +80,7 @@ H5P.fullScreen = function ($el, obj) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$el.add(H5P.$body).removeClass('h5p-fullscreen');
|
$el.add(H5P.$body).removeClass('h5p-fullscreen');
|
||||||
|
obj.resize(false);
|
||||||
document.removeEventListener(eventName, arguments.callee, false);
|
document.removeEventListener(eventName, arguments.callee, false);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue