diff options
author | Eduardo Lundgren <eduardolundgren@gmail.com> | 2008-12-31 08:22:11 +0000 |
---|---|---|
committer | Eduardo Lundgren <eduardolundgren@gmail.com> | 2008-12-31 08:22:11 +0000 |
commit | dbcf65fce9a71b5fc6ac2f0db1d87c0f5574843b (patch) | |
tree | 8e3bd3fc55aa63cc1c17d93cc7ad41e69fca6240 /ui/ui.draggable.js | |
parent | b00026f72be720a44200d127f71f7b11c5ce939b (diff) | |
download | jquery-ui-dbcf65fce9a71b5fc6ac2f0db1d87c0f5574843b.tar.gz jquery-ui-dbcf65fce9a71b5fc6ac2f0db1d87c0f5574843b.zip |
Remove trailing spaces
Diffstat (limited to 'ui/ui.draggable.js')
-rw-r--r-- | ui/ui.draggable.js | 8 |
1 files changed, 4 insertions, 4 deletions
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(); } - + } }); |