Skip to:
Content

BuddyPress.org

Changeset 9785


Ignore:
Timestamp:
04/22/2015 04:27:45 PM (4 years ago)
Author:
imath
Message:

Avatar UI: clean up the Camera Backbone template

The template was using a "hide" class for the save button view with no corresponding css rule. As the strategy is to display the button and eventually inform the user to first click on the "capture" button if the "save" button was first clicked, we are removing this class.

Props hnla for the good catch.

See #6290

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/assets/_attachments/avatars/camera.php

    r9766 r9785  
    2121        <div id="avatar-crop-actions">
    2222            <a class="button avatar-webcam-capture" href="#"><?php esc_html_e( 'Capture', 'buddypress' );?></a>
    23             <a class="button avatar-webcam-save hide" href="#"><?php esc_html_e( 'Save', 'buddypress' );?></a>
     23            <a class="button avatar-webcam-save" href="#"><?php esc_html_e( 'Save', 'buddypress' );?></a>
    2424        </div>
    2525    <# } #>
Note: See TracChangeset for help on using the changeset viewer.