From d5eb0f50edd61ce50e6c91a628de26e27611ac12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ha=CC=8Akon=20Ellingsen?= Date: Wed, 28 Sep 2016 11:10:32 +0200 Subject: [PATCH] HFP-24: Only add skip button when it is wanted --- js/questionset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/questionset.js b/js/questionset.js index b346c51..63a18fb 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -524,7 +524,7 @@ H5P.QuestionSet = function (options, contentId, contentData) { }); video.play(); - if (params.endGame.skipButtonText) { + if (params.endGame.skippable) { $('').click(function () { video.pause(); $videoContainer.hide();