From 32260c5ec4fc57edb1ae82b39374757ec3a5fb69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Mon, 30 Jan 2012 22:39:03 -0500 Subject: [PATCH] Draggable demo: Inlined the revert logic in the revert demo. --- demos/draggable/revert.html | 38 ++++++++++++++++--------------------- 1 file changed, 16 insertions(+), 22 deletions(-) diff --git a/demos/draggable/revert.html b/demos/draggable/revert.html index 803dfc1a7..756987ff8 100644 --- a/demos/draggable/revert.html +++ b/demos/draggable/revert.html @@ -11,31 +11,25 @@ @@ -56,7 +50,7 @@
-

Return the draggable (or it's helper) to its original location when dragging stops with the boolean revert option.

+

The stop callback can be used to perform an action after the user finishing dragging the element. For example, if you want to return the draggable (or it's helper) to its original location when dragging stops, you can do so in the stop callback.