Changeset 7439 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/inc/template-tags.php
- Timestamp:
- 07/12/2018 05:49:22 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/inc/template-tags.php
r6541 r7439 85 85 </span> 86 86 </a> 87 <script> 88 jQuery( '.plugin-favorite-heart' ) 87 </div> 88 <?php 89 wp_add_inline_script( 90 'wporg-plugins-faq', 91 "jQuery( '.plugin-favorite-heart' ) 89 92 .on( 'click touchstart animationend', function () { 90 93 jQuery( this ).toggleClass( 'is-animating' ); … … 92 95 .on( 'click', function () { 93 96 jQuery( this ).toggleClass( 'favorited' ); 94 } ); 95 </script> 96 </div> 97 <?php 97 } );" 98 ); 98 99 } 99 100
Note: See TracChangeset
for help on using the changeset viewer.