From 7e5ddb102c4a74ae86fe2e9d5793a99eb47659f9 Mon Sep 17 00:00:00 2001 From: ahstro Date: Thu, 6 Aug 2015 22:41:45 +0200 Subject: [PATCH] Wrong element in jQuery targeting waypoint --- challenges/jquery-ajax-and-json.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/jquery-ajax-and-json.json b/challenges/jquery-ajax-and-json.json index dad707f590..6c1fe0039f 100644 --- a/challenges/jquery-ajax-and-json.json +++ b/challenges/jquery-ajax-and-json.json @@ -60,7 +60,7 @@ "For example, let's make all of your button elements bounce. Just add this code inside your \"document ready function\": $('button').addClass('animated bounce')." ], "tests": [ - "assert($('button').hasClass('animated') && $('button').hasClass('bounce'), 'Use the jQuery addClass() function to give the classes \"animated\" and \"bounce\" to your img element.')", + "assert($('button').hasClass('animated') && $('button').hasClass('bounce'), 'Use the jQuery addClass() function to give the classes \"animated\" and \"bounce\" to your button element.')", "assert(!editor.match(/class.*animated/g), 'Only use jQuery to add these classes to the element.')" ], "challengeSeed": [