Also add class when framed

editor-padding
Svein-Tore Griff With 2015-07-30 18:11:59 +02:00
parent 71f147058d
commit 8d9781f4ae
1 changed files with 1 additions and 0 deletions

View File

@ -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');