Team:Aix-Marseille/Home
From 2014.igem.org
(Difference between revisions)
Line 8: | Line 8: | ||
function colorChange() { | function colorChange() { | ||
- | if (i>0) | + | if (i>0) { |
- | title. | + | title.removeClass('text-danger'); |
- | else | + | title.addClass('text-success'); |
- | title. | + | } |
+ | else { | ||
+ | title.removeClass('text-success'); | ||
+ | title.addClass('text-danger'); | ||
+ | } | ||
i = i*(-1); | i = i*(-1); | ||
} | } |
Revision as of 15:09, 11 October 2014