mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-19 08:52:22 +01:00
Try to avoid occasional error messages.
This commit is contained in:
parent
073fd83d3f
commit
25069553ec
@ -62,8 +62,8 @@
|
|||||||
|
|
||||||
function getViewportOffset() {
|
function getViewportOffset() {
|
||||||
return {
|
return {
|
||||||
top: w.pageYOffset || documentElement.scrollTop || d.body.scrollTop,
|
top: w.pageYOffset || documentElement.scrollTop || (d.body?d.body.scrollTop:0),
|
||||||
left: w.pageXOffset || documentElement.scrollLeft || d.body.scrollLeft
|
left: w.pageXOffset || documentElement.scrollLeft || (d.body?d.body.scrollLeft:0)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user