Skip to content

Commit 0cc197a

Browse files
committed
Draggable: Change element ids in demo
1 parent 7cc88bf commit 0cc197a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demos/draggable/constrain-movement.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
$( "#draggable2" ).draggable({ axis: "x" });
2121

2222
$( "#draggable3" ).draggable({ containment: "#containment-wrapper", scroll: false });
23-
$( "#draggable5" ).draggable({ containment: "parent" });
23+
$( "#draggable4" ).draggable({ containment: "parent" });
2424
</script>
2525
</head>
2626
<body>
@@ -42,7 +42,7 @@ <h3>Or to within another DOM element:</h3>
4242
</div>
4343

4444
<div class="draggable ui-widget-content">
45-
<p id="draggable5" class="ui-widget-header">I'm contained within my parent</p>
45+
<p id="draggable4" class="ui-widget-header">I'm contained within my parent</p>
4646
</div>
4747
</div>
4848

0 commit comments

Comments
 (0)