Skip to content

Commit

Permalink
Always hide in-video-quiz helper in LMS
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulio Gratta committed Feb 28, 2017
1 parent c74d6eb commit 431a7db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions invideoquiz/public/js/src/invideoquiz.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* Javascript for InVideoQuizXBlock. */
function InVideoQuizXBlock(runtime, element) {
$('.in-video-quiz-block').closest('.vert').hide();
var videoId = $('.in-video-quiz-block').data('videoid');
if (!videoId || !InVideoQuizXBlock.config.hasOwnProperty(videoId)) {
return;
Expand All @@ -19,8 +20,6 @@ function InVideoQuizXBlock(runtime, element) {
var intervalTimeout = 1500;

$(function () {
$('.in-video-quiz-block').closest('.vert').hide();

$('#seq_content .vert-mod .vert').each(function () {
var component = $(this);

Expand Down

0 comments on commit 431a7db

Please sign in to comment.