aboutsummaryrefslogtreecommitdiffstats
path: root/demos/real-world/image-cropper/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/real-world/image-cropper/index.html')
-rw-r--r--demos/real-world/image-cropper/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/real-world/image-cropper/index.html b/demos/real-world/image-cropper/index.html
index c7e60fe19..5c6f2c9de 100644
--- a/demos/real-world/image-cropper/index.html
+++ b/demos/real-world/image-cropper/index.html
@@ -9,7 +9,7 @@
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../../ui/ui.resizable.js"></script>
<script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
-
+
<script type="text/javascript" src="../../../ui/effects.core.js"></script>
<script type="text/javascript" src="../../../ui/effects.bounce.js"></script>
<script type="text/javascript" src="../../../ui/effects.scale.js"></script>
@@ -112,7 +112,7 @@
//animate:true,
handles: 'all',
-
+
knobHandles: true,
//transparent: true,
@@ -127,9 +127,9 @@
resize: function(event, ui) {
var self = $(this).data("resizable");
-
+
this.style.backgroundPosition = '-' + (self.position.left) + 'px -' + (self.position.top) + 'px';
-
+
$("#log-top").html(self.position.top+"px");
$("#log-left").html(self.position.left+"px");