Changeset 29963 for trunk/src/wp-admin/options-general.php
- Timestamp:
- 10/19/2014 09:12:11 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-general.php
r29691 r29963 28 28 //<![CDATA[ 29 29 jQuery(document).ready(function($){ 30 var $siteName = $( '#wp-admin-bar-site-name' ).children( 'a' ).first(); 31 32 $( '#blogname' ).on( 'input', function() { 33 var title = $( this ).val(); 34 35 // Truncate to 40 characters. 36 if ( 40 < title.length ) { 37 title = title.substring( 0, 40 ) + '\u2026'; 38 } 39 40 $siteName.text( title ); 41 }); 42 30 43 $("input[name='date_format']").click(function(){ 31 44 if ( "date_format_custom_radio" != $(this).attr("id") )
Note: See TracChangeset
for help on using the changeset viewer.