1
0
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:
Thomas Tanghus 2012-07-10 13:16:26 +02:00
parent 073fd83d3f
commit 25069553ec

View File

@ -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)
}; };
} }