Skip to content

Commit fbd3433

Browse files
committed
remove $ from variable
1 parent 67bbdf5 commit fbd3433

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

template_bootstrap2.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ <h1 id="question">Question</h1> <!-- The question will be loaded here -->
130130
$("#question").html(task.info.question);
131131
$('#task-id').html(task.id);
132132
$('.btn-answer').off('click').on('click', function(evt) {
133-
var $btn = $(this);
134-
var answer = $btn.attr("value");
133+
var btn = $(this);
134+
var answer = btn.attr("value");
135135
if (typeof answer != 'undefined') {
136136
//console.log(answer);
137137
pybossa.saveTask(task.id, answer).done(function() {

0 commit comments

Comments
 (0)