From 52dc1b2a81f0a5dd4e20e0aac3b5ad0465527c5b Mon Sep 17 00:00:00 2001 From: Timothy Lim Date: Tue, 13 Dec 2016 10:33:11 +0100 Subject: [PATCH] Refactor canHasFullScreen HFP-339 --- js/h5p.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/js/h5p.js b/js/h5p.js index 618aae7..559b80b 100644 --- a/js/h5p.js +++ b/js/h5p.js @@ -156,13 +156,6 @@ H5P.init = function (target) { }); } - // Check if we should add and display a fullscreen button for this H5P using - // the deprecated variable for backwards compatability. - if (contentData.fullScreen == 1 && H5P.canHasFullScreen) { - H5P.jQuery('
').prependTo($container).children().click(function () { - H5P.fullScreen($container, instance); - }); - } // Create action bar var $actions = H5P.jQuery('');