Making WordPress.org


Ignore:
Timestamp:
04/04/2024 03:52:58 AM (6 months ago)
Author:
dufresnesteven
Message:

wporg-plugins-2024: Remove the heart animation and improve focal states.

Fixes: #7551
Props: joedolson, dd32

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/inc/template-tags.php

    r13445 r13454  
    8989    </div>
    9090    <?php
    91         wp_add_inline_script(
    92             'wporg-plugins-faq',
    93             "jQuery( '.plugin-favorite-heart' )
    94                 .on( 'click touchstart animationend', function () {
    95                     jQuery( this ).toggleClass( 'is-animating' );
    96                 } )
    97                 .on( 'click', function () {
    98                     jQuery( this ).toggleClass( 'favorited' );
    99                 } );"
    100         );
    10191}
    10292
Note: See TracChangeset for help on using the changeset viewer.