Remove unused finish button (only relevant for Boardgame)
parent
b5057c22f9
commit
63a9760b67
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -125,7 +125,6 @@ H5P.QuestionSet = function (options, contentId, contentData) {
|
|||
' <div class="result-text"><%= resulttext %></div>' +
|
||||
' <% } %>' +
|
||||
' <div class="buttons">' +
|
||||
' <button type="button" class="h5p-joubelui-button h5p-button qs-finishbutton"><%= finishButtonText %></button>' +
|
||||
solutionButtonTemplate +
|
||||
' <button type="button" class="h5p-joubelui-button h5p-button qs-retrybutton"><%= retryButtonText %></button>' +
|
||||
' </div>' +
|
||||
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue