Changeset 1912
- Timestamp:
- 09/21/2009 09:45:32 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-cssjs.php
r1905 r1912 122 122 function showPreview(coords) { 123 123 if ( parseInt(coords.w) > 0 ) { 124 var rx = 100/ coords.w;125 var ry = 100/ coords.h;124 var rx = <?php echo (int) constant( 'BP_AVATAR_FULL_WIDTH' ) ?> / coords.w; 125 var ry = <?php echo (int) constant( 'BP_AVATAR_FULL_HEIGHT' ) ?> / coords.h; 126 126 127 127 jQuery('#avatar-crop-preview').css({
Note: See TracChangeset
for help on using the changeset viewer.