Make WordPress Core


Ignore:
Timestamp:
03/06/2015 10:56:17 PM (9 years ago)
Author:
azaozz
Message:

PressThis:

  • Close the sidebar on moving the focus outside of it (by clicking or by "tabbing").
  • Fix a (weird) structural CSS problem where clicks go through the sidebar when it is open.
  • Clean up the JS a bit.

Fixes #31457.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-press-this.php

    r31637 r31651  
    792792                    ?>
    793793                </div>
    794                 <button type="button" class="button add-cat-submit"><?php _e( 'Add' ); ?></button>
     794                <button type="button" class="add-cat-submit"><?php _e( 'Add' ); ?></button>
    795795            </div>
    796796        <?php } ?>
     
    835835                    <p>
    836836                        <input type="text" id="new-tag-post_tag" name="newtag[post_tag]" class="newtag form-input-tip" size="16" autocomplete="off" value="" />
    837                         <button type="button" class="button tagadd"><?php _e( 'Add' ); ?></button>
     837                        <button type="button" class="tagadd"><?php _e( 'Add' ); ?></button>
    838838                    </p>
    839839                </div>
     
    10361036        </div>
    10371037
    1038         <div class="options-panel is-off-screen is-hidden">
     1038        <div class="options-panel-back is-hidden" tabindex="-1"></div> 
     1039        <div class="options-panel is-off-screen is-hidden" tabindex="-1">
    10391040            <div class="post-options">
    10401041
Note: See TracChangeset for help on using the changeset viewer.