From 63a9760b677ce5f55c74092b28b8809c1e42e3af Mon Sep 17 00:00:00 2001 From: Paal Joergensen Date: Wed, 25 Apr 2018 09:39:24 +0200 Subject: [PATCH] Remove unused finish button (only relevant for Boardgame) --- css/questionset.css | 8 -------- js/questionset.js | 3 +-- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/css/questionset.css b/css/questionset.css index a9eb1fc..8f089a6 100644 --- a/css/questionset.css +++ b/css/questionset.css @@ -120,10 +120,6 @@ content: "\f01e"; } -.qs-footer > .next, .qs-footer > .finish, .qs-finishbutton { - float: right; -} - /* Need to disable max-height animation stuff, since this will make resizing of iframe in Safari not work! */ .questionset .h5p-question-buttons.h5p-question-visible { @@ -178,10 +174,6 @@ left: -2px; } -.questionset-results .qs-finishbutton { - display: none; -} - .h5p-question .h5p-question-finish:before { content: "\f00c"; } diff --git a/js/questionset.js b/js/questionset.js index d0a8fbd..00a06be 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -125,7 +125,6 @@ H5P.QuestionSet = function (options, contentId, contentData) { '
<%= resulttext %>
' + ' <% } %>' + '
' + - ' ' + solutionButtonTemplate + ' ' + '
' + @@ -795,7 +794,7 @@ H5P.QuestionSet = function (options, contentId, contentData) { } else { // Remove buttons and feedback section - $('.qs-finishbutton, .qs-solutionbutton, .qs-retrybutton, .feedback-section', $myDom).remove(); + $('.qs-solutionbutton, .qs-retrybutton, .feedback-section', $myDom).remove(); } self.trigger('resize');