Add specific resize function for when the window goes out of resize mode

namespaces
Svein-Tore Griff With 2013-05-21 00:07:51 +02:00
parent 0eb3051ca2
commit 45627c8c65
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ H5P.fullScreen = function ($el, obj) {
return;
}
$el.add(H5P.$body).removeClass('h5p-fullscreen');
obj.resize(false);
document.removeEventListener(eventName, arguments.callee, false);
});