Skip to content

Commit

Permalink
BugFix Set position to the valid questionHolder with Quantum
Browse files Browse the repository at this point in the history
Currently we define "questionHolder" with a "quantum", it has been forgotten in the setPosition method.
  • Loading branch information
Matteo-Peronnet authored Aug 13, 2018
1 parent a90a008 commit a7f617c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/views/new.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
function setPosition()
{
questionHolder.find('li.question').each(function() {
questionHolder{{ quantum }}.find('li.question').each(function() {
$vic(this).find('.question-position').val($vic('li.question').index($vic(this)));
});
}
Expand Down

0 comments on commit a7f617c

Please sign in to comment.