From 13b9a6fd56b9ceb49f0b47295e139a8850edbd40 Mon Sep 17 00:00:00 2001 From: LumenTeun Date: Sun, 31 May 2015 17:30:50 +0200 Subject: [PATCH] Improves 'Ditch Custom CSS for Bootstrap' --- seed_data/challenges/bootstrap.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed_data/challenges/bootstrap.json b/seed_data/challenges/bootstrap.json index e19c9c4918..9ea58cdf65 100644 --- a/seed_data/challenges/bootstrap.json +++ b/seed_data/challenges/bootstrap.json @@ -701,7 +701,7 @@ "assert(!$('h2').hasClass('red-text'), 'You h2 element should no longer have the class \"red-text\".')", "assert($('h2').hasClass('text-primary'), 'You h2 element should now have the class \"text-primary\".')", "assert(!$('p').css('font-family').match(/monospace/i), 'Your paragraph elements should no longer use the font \"Monospace\".')", - "assert($('.img-responsive').length > 1, 'Remove the \"smaller-image\" class from your top image and replace it with the \"img-responsive\" class.')" + "assert($('img').hasClass('img-responsive') && !$('img').hasClass('smaller-image'), 'Remove the \"smaller-image\" class from your top image and replace it with the \"img-responsive\" class.')" ], "challengeSeed": [ "",