mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
jQuery 1.6 (used in Trunk) needs to use prop() instead of attr() to access DOM attributes
This commit is contained in:
parent
42563b8d1a
commit
0d84fdd087
@ -179,7 +179,7 @@ function refresh_'.$id.'()
|
||||
if (_data.length) {
|
||||
'.$id.'_tail_start = _data.next;
|
||||
var log = $j("#'.$id.'").append(_data.content.replace(/</g,"<"));
|
||||
log.animate({ scrollTop: log.attr("scrollHeight") - log.height() + 20 }, 500);
|
||||
log.animate({ scrollTop: log.prop("scrollHeight") - log.height() + 20 }, 500);
|
||||
}
|
||||
if (_data.size === false)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user