We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67bbdf5 commit fbd3433Copy full SHA for fbd3433
template_bootstrap2.html
@@ -130,8 +130,8 @@ <h1 id="question">Question</h1> <!-- The question will be loaded here -->
130
$("#question").html(task.info.question);
131
$('#task-id').html(task.id);
132
$('.btn-answer').off('click').on('click', function(evt) {
133
- var $btn = $(this);
134
- var answer = $btn.attr("value");
+ var btn = $(this);
+ var answer = btn.attr("value");
135
if (typeof answer != 'undefined') {
136
//console.log(answer);
137
pybossa.saveTask(task.id, answer).done(function() {
0 commit comments