]> git.mxchange.org Git - friendica.git/blobdiff - library/cropper/tests/example-FixedRatio.htm
eliminate Cropper conflicts with jQuery
[friendica.git] / library / cropper / tests / example-FixedRatio.htm
index 973bedda9a004b7a1fa83a93d56744c2e2e4c470..8d196c15c2f9695a986b0f7da54f9469653c9d67 100644 (file)
        <script type="text/javascript" charset="utf-8">\r
                \r
                function onEndCrop( coords, dimensions ) {\r
-                       $( 'x1' ).value = coords.x1;\r
-                       $( 'y1' ).value = coords.y1;\r
-                       $( 'x2' ).value = coords.x2;\r
-                       $( 'y2' ).value = coords.y2;\r
-                       $( 'width' ).value = dimensions.width;\r
-                       $( 'height' ).value = dimensions.height;\r
+                       $PR( 'x1' ).value = coords.x1;\r
+                       $PR( 'y1' ).value = coords.y1;\r
+                       $PR( 'x2' ).value = coords.x2;\r
+                       $PR( 'y2' ).value = coords.y2;\r
+                       $PR( 'width' ).value = dimensions.width;\r
+                       $PR( 'height' ).value = dimensions.height;\r
                }\r
                \r
                // with a supplied ratio\r