X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=library%2Fcropper%2Ftests%2Fexample-CSS-Float.htm;h=3dbeeab4b17542462630a677b02c8be550b66970;hb=d301a363b0c6b7ebb9e70d44ddf82f3d715e4041;hp=5066553fef9e9b3440f54adfb05ca9349eef98ab;hpb=1872cf2b2d14be5c4b8fbc9e2cf61f9fcd9e2f88;p=friendica.git diff --git a/library/cropper/tests/example-CSS-Float.htm b/library/cropper/tests/example-CSS-Float.htm index 5066553fef..3dbeeab4b1 100644 --- a/library/cropper/tests/example-CSS-Float.htm +++ b/library/cropper/tests/example-CSS-Float.htm @@ -13,12 +13,12 @@ // setup the callback function function onEndCrop( coords, dimensions ) { - $( 'x1' ).value = coords.x1; - $( 'y1' ).value = coords.y1; - $( 'x2' ).value = coords.x2; - $( 'y2' ).value = coords.y2; - $( 'width' ).value = dimensions.width; - $( 'height' ).value = dimensions.height; + $PR( 'x1' ).value = coords.x1; + $PR( 'y1' ).value = coords.y1; + $PR( 'x2' ).value = coords.x2; + $PR( 'y2' ).value = coords.y2; + $PR( 'width' ).value = dimensions.width; + $PR( 'height' ).value = dimensions.height; } // float example @@ -30,12 +30,12 @@ 'testFloatImage', { onEndCrop: function( coords, dimensions ) { - $( 'floatX1' ).value = coords.x1; - $( 'floatY1' ).value = coords.y1; - $( 'floatX2' ).value = coords.x2; - $( 'floatY2' ).value = coords.y2; - $( 'floatWidth' ).value = dimensions.width; - $( 'floatHeight' ).value = dimensions.height; + $PR( 'floatX1' ).value = coords.x1; + $PR( 'floatY1' ).value = coords.y1; + $PR( 'floatX2' ).value = coords.x2; + $PR( 'floatY2' ).value = coords.y2; + $PR( 'floatWidth' ).value = dimensions.width; + $PR( 'floatHeight' ).value = dimensions.height; } } );