Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/02/2009 10:07:58 PM (17 years ago)
Author:
apeatling
Message:

Fixing registration and avatar bugs with old 1.0 themes in 1.1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-cssjs.php

    r2017 r2025  
    123123
    124124                                jQuery('#avatar-crop-preview').css({
     125                                <?php if ( $image ) : ?>
    125126                                        width: Math.round(rx * <?php echo $image[0] ?>) + 'px',
    126127                                        height: Math.round(ry * <?php echo $image[1] ?>) + 'px',
     128                                <?php endif; ?>
    127129                                        marginLeft: '-' + Math.round(rx * coords.x) + 'px',
    128130                                        marginTop: '-' + Math.round(ry * coords.y) + 'px'
Note: See TracChangeset for help on using the changeset viewer.