From 161e1e440e9545ae61ff7d6266e502de7fa1e57a Mon Sep 17 00:00:00 2001 From: benmcmahon100 Date: Mon, 17 Aug 2015 20:16:11 +0100 Subject: [PATCH] Fix #1895 --- challenges/jquery.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/jquery.json b/challenges/jquery.json index f2dfcb08e1..3e5e600db4 100644 --- a/challenges/jquery.json +++ b/challenges/jquery.json @@ -624,7 +624,7 @@ "Here's an example of how you would use the parent() function: $(\"#left-well\").parent().css(\"background-color\", \"blue\")" ], "tests": [ - "assert($(\"#left-well\").css(\"background-color\") === 'rgb(255, 0, 0)', 'Your left-well element should have a red background.')", + "assert($(\"#left-well\").css(\"background-color\") === 'rgb(255, 0, 0)' || $(\"#left-well\").css(\"background-color\") === '#ff0000' $(\"#left-well\").css(\"background-color\") === 'red', 'Your left-well element should have a red background.')", "assert(editor.match(/\\.parent\\(\\)\\.css/g), 'You should use the parent() function to modify this element.')", "assert(editor.match(/
/g), 'Only use jQuery to add these classes to the element.')" ],