From dbcf65fce9a71b5fc6ac2f0db1d87c0f5574843b Mon Sep 17 00:00:00 2001 From: Eduardo Lundgren Date: Wed, 31 Dec 2008 08:22:11 +0000 Subject: Remove trailing spaces --- ui/ui.draggable.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ui/ui.draggable.js') diff --git a/ui/ui.draggable.js b/ui/ui.draggable.js index a18546001..8f9d8682e 100644 --- a/ui/ui.draggable.js +++ b/ui/ui.draggable.js @@ -428,7 +428,7 @@ $.ui.plugin.add("draggable", "connectToSortable", { this.instance.element.triggerHandler("sortreceive", [event, $.extend(this.instance._ui(), { sender: inst.element })], this.instance.options["receive"]); this.instance.options.helper = this.instance.options._helper; - + if(inst.options.helper == 'original') { this.instance.currentItem.css({ top: 'auto', left: 'auto' }); } @@ -599,9 +599,9 @@ $.ui.plugin.add("draggable", "scroll", { // the scroll is included in the initial calculation of the offset of the parent, and never recalculated upon drag if(scrolled !== false && i.cssPosition == 'absolute' && i.scrollParent[0] != document && $.ui.contains(i.scrollParent[0], i.offsetParent[0])) { i.offset.parent = i._getParentOffset(); - + } - + // This is another very weird special case that only happens for relative elements: // 1. If the css position is relative // 2. and the scroll parent is the document or similar to the offset parent @@ -609,7 +609,7 @@ $.ui.plugin.add("draggable", "scroll", { if(scrolled !== false && i.cssPosition == 'relative' && !(i.scrollParent[0] != document && i.scrollParent[0] != i.offsetParent[0])) { i.offset.relative = i._getRelativeOffset(); } - + } }); -- cgit v1.2.3