HFP-24: Only add skip button when it is wanted

pull/7/head
Håkon Ellingsen 2016-09-28 11:10:32 +02:00
parent a601a1014c
commit d5eb0f50ed
1 changed files with 1 additions and 1 deletions

View File

@ -524,7 +524,7 @@ H5P.QuestionSet = function (options, contentId, contentData) {
});
video.play();
if (params.endGame.skipButtonText) {
if (params.endGame.skippable) {
$('<a class="h5p-joubelui-button h5p-button skip">' + params.endGame.skipButtonText + '</a>').click(function () {
video.pause();
$videoContainer.hide();