diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2013-01-31 15:59:46 +0100 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2013-01-31 15:59:46 +0100 |
commit | 873ae9e9de2aba0f22f3669b1e1519a439d97b5c (patch) | |
tree | d70c1cb41620e820bc34fdf766a9c5a9edb7c5ed | |
parent | 18de07e86f44ccfa27fd6783da4a2398d53ba72a (diff) |
Add work-around for IE <= 8 which doesn't support :last-child CSS selector
-rw-r--r-- | skins/larry/includes/footer.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/skins/larry/includes/footer.html b/skins/larry/includes/footer.html index ee93fcf57..a4fa69296 100644 --- a/skins/larry/includes/footer.html +++ b/skins/larry/includes/footer.html @@ -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]--> |