fix jquery exercises bug

This commit is contained in:
Michael Q Larson
2014-12-01 18:24:13 -08:00
parent dc77df06e3
commit e6e00a28e9

View File

@ -19,7 +19,7 @@ block content
13: "There's an element hidden in #location1. Show it using jQuery, and then click on it." 13: "There's an element hidden in #location1. Show it using jQuery, and then click on it."
}; };
var hint = { var hint = {
0: "$('#next-exercise').attr('disabled', false)", 0: "$('#next-exercise').attr('disabled', false);",
1: "$('.target').appendTo('#location2');", 1: "$('.target').appendTo('#location2');",
2: "$('.target').css('background', 'red');", 2: "$('.target').css('background', 'red');",
3: "$('.target:even').css('background', 'red');", 3: "$('.target:even').css('background', 'red');",