From 73836a0660cac73d1897a2aa50b9e05e5313fa17 Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Fri, 2 May 2014 15:45:45 +0200 Subject: [PATCH] Imported changes from D6. --- js/h5p.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/js/h5p.js b/js/h5p.js index 9f7ea99..fc65d9b 100644 --- a/js/h5p.js +++ b/js/h5p.js @@ -214,7 +214,6 @@ H5P.fullScreen = function ($element, instance, exitCallback, body) { var first, eventName = (H5P.fullScreenBrowserPrefix === 'ms' ? 'MSFullscreenChange' : H5P.fullScreenBrowserPrefix + 'fullscreenchange'); document.addEventListener(eventName, function () { - console.log('FS changed.'); if (first === undefined) { first = false; return; @@ -369,7 +368,7 @@ H5P.error = function (err) { if (window['console'] !== undefined && console.error !== undefined) { console.error(err); } -} +}; /** * Translate text strings. @@ -552,7 +551,7 @@ H5P.ContentCopyrights = function () { return html; }; -} +}; /** * A ordered list of copyright fields for media. @@ -663,7 +662,7 @@ H5P.MediaCopyright = function (copyright, labels, order, extraFields) { return html; }; -} +}; // Translate table for copyright license codes. H5P.copyrightLicenses = { @@ -702,7 +701,7 @@ H5P.Thumbnail = function (source, width, height) { this.toString = function () { return '' + H5P.t('thumbnail') + ''; }; -} +}; /** * Simple data class for storing a single field. @@ -725,7 +724,7 @@ H5P.Field = function (label, value) { this.getValue = function () { return value; }; -} +}; /** * Simple class for creating a definition list. @@ -774,7 +773,7 @@ H5P.DefinitionList = function () { } return (html === '' ? html : '
' + html + '
'); }; -} +}; /** * THIS FUNCTION/CLASS IS DEPRECATED AND WILL BE REMOVED.