diff --git a/seed/challenges/03-front-end-libraries/jquery.json b/seed/challenges/03-front-end-libraries/jquery.json index b0e1f1d8ce..3c45ca2d14 100644 --- a/seed/challenges/03-front-end-libraries/jquery.json +++ b/seed/challenges/03-front-end-libraries/jquery.json @@ -792,7 +792,7 @@ "" ], "tests": [ - "assert($(\"#target1\") && $(\"#target1\").prop(\"disabled\"), 'message: Disable your target1 button.');", + "assert($(\"#target1\") && $(\"#target1\").prop(\"disabled\") && code.match(/[\"']disabled[\"'],( true|true)/g), 'message: Disable your target1 button.');", "assert($(\"#target2\") && !$(\"#target2\").prop(\"disabled\"), 'message: Do not disable any other buttons.');", "assert(!code.match(/disabled[^<]*>/g), 'message: Only use jQuery to add these classes to the element.');" ],