Add work-around for IE <= 8 which doesn't support :last-child CSS selector

pull/15/head
Thomas Bruederli 12 years ago
parent 18de07e86f
commit 873ae9e9de

@ -8,4 +8,16 @@ $(document).ready(function(){
});
</script>
<!--[if lte IE 8]>
<script type="text/javascript">
// fix missing :last-child selectors
$(document).ready(function(){
$('ul.treelist ul').each(function(i,ul){
$('li:last-child', ul).css('border-bottom', 0);
});
});
</script>
<![endif]-->

Loading…
Cancel
Save