From 8d9781f4ae296b1a561b00cd54828cfefe8ab0ef Mon Sep 17 00:00:00 2001 From: Svein-Tore Griff With Date: Thu, 30 Jul 2015 18:11:59 +0200 Subject: [PATCH] Also add class when framed --- js/h5p.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/h5p.js b/js/h5p.js index d87d63c..0d1ff2f 100644 --- a/js/h5p.js +++ b/js/h5p.js @@ -182,6 +182,7 @@ H5P.init = function (target) { // Insert action bar if it has any content if (!(contentData.disable & H5P.DISABLE_FRAME) && $actions.children().length) { $actions.insertAfter($container); + $element.addClass('h5p-frame'); } else { $element.addClass('h5p-no-frame');