aboutsummaryrefslogtreecommitdiffstats
path: root/demos/draggable
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-12-30 16:04:01 +0000
committerRichard Worth <rdworth@gmail.com>2008-12-30 16:04:01 +0000
commit47db3e4593a3278ff5f413439ec8c3923d411ef7 (patch)
tree674db3bdd692666e5d7b0d8a168d475f9efbd77a /demos/draggable
parent39707941f543433f836a6111511f63cc81c02f74 (diff)
downloadjquery-ui-47db3e4593a3278ff5f413439ec8c3923d411ef7.tar.gz
jquery-ui-47db3e4593a3278ff5f413439ec8c3923d411ef7.zip
demos/draggable/containment.html: set window to not scroll to highlight difference between it and document when inside iframe
Diffstat (limited to 'demos/draggable')
-rw-r--r--demos/draggable/containment.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/draggable/containment.html b/demos/draggable/containment.html
index b30d61436..10250fb36 100644
--- a/demos/draggable/containment.html
+++ b/demos/draggable/containment.html
@@ -12,7 +12,7 @@
</style>
<script type="text/javascript">
$(function() {
- $("#draggable").draggable({ containment: 'window' });
+ $("#draggable").draggable({ containment: 'window', scroll: false });
$("#draggable2").draggable({ containment: 'document' });
$("#draggable3").draggable({ containment: 'parent' });
});