You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
524 B
JavaScript
21 lines
524 B
JavaScript
|
|
// Make getElementById() case-sensitive on IE7
|
|
document._getElementById = document.getElementById;
|
|
document.getElementById = function(id) {
|
|
var i = 0, obj = document._getElementById(id);
|
|
|
|
if (obj && obj.id != id)
|
|
while ((obj = document.all[i]) && obj.id != id)
|
|
i++;
|
|
|
|
return obj;
|
|
}
|
|
|
|
// fix missing :last-child selectors
|
|
$(document).ready(function() {
|
|
if (rcmail && rcmail.env.skin != 'classic')
|
|
$('ul.treelist ul').each(function(i, ul) {
|
|
$('li:last-child', ul).css('border-bottom', 0);
|
|
});
|
|
});
|