Skip to content

Commit

Permalink
Only set pause for GTQ if not set
Browse files Browse the repository at this point in the history
i.e. default pause, not always pause
HFJ-2015
  • Loading branch information
icc committed Jun 21, 2016
1 parent 7b9d804 commit 437833b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/interactive-video-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ H5PEditor.widgets.interactiveVideo = H5PEditor.InteractiveVideo = (function ($)
var labelField = findField('label', interactionFields);
labelField.widget = 'none';

if (type === 'H5P.GoToQuestion') {
if (type === 'H5P.GoToQuestion' && parameters.pause === undefined) {
parameters.pause = true;
}
}
Expand Down

0 comments on commit 437833b

Please sign in to comment.