mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04: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:
@@ -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' });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user