aboutsummaryrefslogtreecommitdiffstats
path: root/demos/draggable/snap-to.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/draggable/snap-to.html')
-rw-r--r--demos/draggable/snap-to.html11
1 files changed, 2 insertions, 9 deletions
diff --git a/demos/draggable/snap-to.html b/demos/draggable/snap-to.html
index fed879f82..a399db5d6 100644
--- a/demos/draggable/snap-to.html
+++ b/demos/draggable/snap-to.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
@@ -27,8 +27,6 @@
</head>
<body>
-<div class="demo">
-
<div id="snaptarget" class="ui-widget-header">
<p>I'm a snap target</p>
</div>
@@ -55,14 +53,9 @@
<p>I snap to a 80 x 80 grid</p>
</div>
-</div><!-- End demo -->
-
-
-
<div class="demo-description">
<p>Snap the draggable to the inner or outer boundaries of a DOM element. Use the <code>snap</code>, <code>snapMode</code> (inner, outer, both), and <code>snapTolerance</code> (distance in pixels the draggable must be from the element when snapping is invoked) options. </p>
<p>Or snap the draggable to a grid. Set the dimensions of grid cells (height and width in pixels) with the <code>grid</code> option.</p>
-</div><!-- End demo-description -->
-
+</div>
</body>
</html>