Commit 55578f5b5980c68fcc81f7c0fc880831d18d1460
1 parent
ba4de578
38013 bug is fixed
Showing
1 changed file
with
5 additions
and
5 deletions
400-SOURCECODE/AIAHTML5.Web/index.aspx
@@ -1535,11 +1535,11 @@ | @@ -1535,11 +1535,11 @@ | ||
1535 | </script> | 1535 | </script> |
1536 | <script> | 1536 | <script> |
1537 | $(function () { | 1537 | $(function () { |
1538 | - $(".modal").draggable(); | ||
1539 | - $(".annotationTollbar").draggable(); | ||
1540 | - $(".modeleditstyle").draggable(); | ||
1541 | - $("#annotationTextModal").draggable(); | ||
1542 | - $("#modal-settings").draggable(); | 1538 | + $(".modal").draggable({ containment: 'window' }); |
1539 | + $(".annotationTollbar").draggable({ containment: 'window' }); | ||
1540 | + $(".modeleditstyle").draggable({containment:'window'}); | ||
1541 | + $("#annotationTextModal").draggable({ containment: 'window' }); | ||
1542 | + $("#modal-settings").draggable({ containment: 'window' }); | ||
1543 | }); | 1543 | }); |
1544 | </script> | 1544 | </script> |
1545 | 1545 |