html: use jquery's xbrowser nth-child function

This commit is contained in:
Hylke Bons 2012-03-10 16:09:34 +00:00
parent db830315c6
commit 4b6bbd24a6

View file

@ -10,6 +10,8 @@
<script type="text/javascript">
$(document).ready(function () {
$('dl dd:nth-child(-n+10)').css('display', 'block');
// Update the Today and Yesterday labels after midnight
var midnight_interval = setInterval (function(){
var date = new Date();
@ -246,10 +248,6 @@
background-position: center left;
}
dl dd:nth-child(-n+10) {
display: block;
}
.document {
text-overflow: ellipsis;
width: 100%;