From 45627c8c650b48ac05155462f6a48c86b71ed874 Mon Sep 17 00:00:00 2001 From: Svein-Tore Griff With Date: Tue, 21 May 2013 00:07:51 +0200 Subject: [PATCH] Add specific resize function for when the window goes out of resize mode --- js/h5p.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/h5p.js b/js/h5p.js index a8b585a..ecd372a 100644 --- a/js/h5p.js +++ b/js/h5p.js @@ -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); });