From 24a7e49d71448d67a00fb6e4f86b5b136df93513 Mon Sep 17 00:00:00 2001 From: Matthew Morrison Date: Fri, 22 May 2015 14:16:59 -0500 Subject: [PATCH] Fixed scrolling offset problem. --- jquery.mjs.nestedSortable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.mjs.nestedSortable.js b/jquery.mjs.nestedSortable.js index dd86a90..6a501db 100644 --- a/jquery.mjs.nestedSortable.js +++ b/jquery.mjs.nestedSortable.js @@ -245,7 +245,7 @@ this.helper[0].style.left = this.position.left + "px"; } if (!this.options.axis || this.options.axis !== "x") { - this.helper[0].style.top = (this.position.top + window.scrollY) + "px"; + this.helper[0].style.top = (this.position.top) + "px"; } // mjs - check and reset hovering state at each cycle