Skip to content
Snippets Groups Projects
Commit 9ad4bf6f authored by Seth Meranda's avatar Seth Meranda
Browse files

Use the correct selector for odd.

parent d0c776f6
Branches
Tags
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
*/ */
WDN.jQuery('document').ready(function($){ WDN.jQuery('document').ready(function($){
// for IE, we need to add a class to support the two columns // 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. // for older browsers, we need to use a span to control the width of the legends to prevent overflows.
$('form.stuapp legend').each(function() { $('form.stuapp legend').each(function() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment