Changeset 12857
- Timestamp:
- 03/03/2021 05:00:00 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/bp-core-cssjs.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-cssjs.php
r12558 r12857 301 301 302 302 <script type="text/javascript"> 303 jQuery( window).load( function(){304 jQuery( '#avatar-to-crop').Jcrop({303 jQuery( window ).on( 'load', function() { 304 jQuery( '#avatar-to-crop' ).Jcrop( { 305 305 onChange: showPreview, 306 306 onSelect: updateCoords, 307 307 aspectRatio: <?php echo (int) $aspect_ratio; ?>, 308 308 setSelect: [ <?php echo (int) $crop_left; ?>, <?php echo (int) $crop_top; ?>, <?php echo (int) $crop_right; ?>, <?php echo (int) $crop_bottom; ?> ] 309 } );310 } );309 } ); 310 } ); 311 311 312 312 function updateCoords(c) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)