Skip to content

Commit 0fac101

Browse files
committed
fix typo
1 parent 9603157 commit 0fac101

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/www/examples/standalone/example2.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ function search_questions(search, target){
5252

5353
//loop trough the results
5454
$.each(data['results']['bindings'], function(index, value){
55-
55+
5656
//get questiontext
5757
var question = value['questiontext']['value'];
5858
//get the study
59-
var study = value['value'];
59+
var study = value['study']['value'];
6060

6161
//add to the result div
6262
$('<p>'+question+'<br /><a href="'+study+'">go to the study</a></p>').appendTo('#'+target);

0 commit comments

Comments
 (0)