html: use jquery's xbrowser nth-child function
This commit is contained in:
parent
713a28e53a
commit
604a208532
|
@ -10,6 +10,8 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
|
||||||
|
$('dl dd:nth-child(-n+10)').css('display', 'block');
|
||||||
|
|
||||||
// Update the Today and Yesterday labels after midnight
|
// Update the Today and Yesterday labels after midnight
|
||||||
var midnight_interval = setInterval (function(){
|
var midnight_interval = setInterval (function(){
|
||||||
var date = new Date();
|
var date = new Date();
|
||||||
|
@ -246,10 +248,6 @@
|
||||||
background-position: center left;
|
background-position: center left;
|
||||||
}
|
}
|
||||||
|
|
||||||
dl dd:nth-child(-n+10) {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.document {
|
.document {
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
Loading…
Reference in a new issue