aboutsummaryrefslogtreecommitdiffstats
path: root/demos/draggable
diff options
context:
space:
mode:
Diffstat (limited to 'demos/draggable')
-rw-r--r--demos/draggable/handle.html2
-rw-r--r--demos/draggable/sortable.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/draggable/handle.html b/demos/draggable/handle.html
index ae8983b85..2946d3d68 100644
--- a/demos/draggable/handle.html
+++ b/demos/draggable/handle.html
@@ -10,7 +10,7 @@
#draggable p { cursor: move; }
</style>
<script src="../../external/requirejs/require.js"></script>
- <script src="../bootstrap.js">
+ <script src="../bootstrap.js" data-modules="disable-selection">
$( "#draggable" ).draggable({ handle: "p" });
$( "#draggable2" ).draggable({ cancel: "p.ui-widget-header" });
$( "div, p" ).disableSelection();
diff --git a/demos/draggable/sortable.html b/demos/draggable/sortable.html
index 9f07c4752..278a2e8c8 100644
--- a/demos/draggable/sortable.html
+++ b/demos/draggable/sortable.html
@@ -10,7 +10,7 @@
li { margin: 5px; padding: 5px; width: 150px; }
</style>
<script src="../../external/requirejs/require.js"></script>
- <script src="../bootstrap.js" data-modules="sortable">
+ <script src="../bootstrap.js" data-modules="sortable disable-selection">
$( "#sortable" ).sortable({
revert: true
});