diff --git a/src/dom/DomUtil.js b/src/dom/DomUtil.js index 99dd54e7..06fbff15 100644 --- a/src/dom/DomUtil.js +++ b/src/dom/DomUtil.js @@ -23,7 +23,7 @@ L.DomUtil = { var top = 0, left = 0; do { - top += (el.offsetTop - el.scrollTop) || 0; + top += el.offsetTop || 0; left += el.offsetLeft || 0; el = el.offsetParent; } while (el);