From 9ad4bf6f905d241b233830a12bc25a0101f91a22 Mon Sep 17 00:00:00 2001 From: Seth Meranda <smeranda2@unl.edu> Date: Thu, 8 Dec 2011 16:39:17 +0000 Subject: [PATCH] Use the correct selector for odd. --- WebContent/js/stuapp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebContent/js/stuapp.js b/WebContent/js/stuapp.js index e69077b..ca7e488 100644 --- a/WebContent/js/stuapp.js +++ b/WebContent/js/stuapp.js @@ -3,7 +3,7 @@ */ WDN.jQuery('document').ready(function($){ // for IE, we need to add a class to support the two columns - $('#maincontent .stuapp > fieldset > ol > li:odd').addClass('odd'); + $('#maincontent .stuapp > fieldset > ol > li:nth-child(odd)').addClass('odd'); // for older browsers, we need to use a span to control the width of the legends to prevent overflows. $('form.stuapp legend').each(function() { -- GitLab