mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
demos/draggable/containment.html: set window to not scroll to highlight difference between it and document when inside iframe
This commit is contained in:
parent
39707941f5
commit
47db3e4593
@ -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' });
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user