diff --git a/edit-tags.php b/edit-tags-new.php
index b575a83..bbf2181 100755
|
old
|
new
|
do_action( "after-{$taxonomy}-table", $taxonomy ); |
| 578 | 578 | |
| 579 | 579 | <?php if ( ! wp_is_mobile() ) : ?> |
| 580 | 580 | <script type="text/javascript"> |
| 581 | | try{document.forms.addtag['tag-name'].focus();}catch(e){} |
| | 581 | try{document.forms.addtag['tag-name'].focus();}catch(e){} |
| | 582 | try |
| | 583 | { |
| | 584 | jQuery(document).ready(function(){ |
| | 585 | jQuery("#tag-name").blur(function() { |
| | 586 | if( jQuery.trim(jQuery("#tag-name").val()) != '' ) { |
| | 587 | jQuery("#tag-slug").val( jQuery.trim(jQuery("#tag-name").val().replace(/\s+/g, '-').toLowerCase()) ); |
| | 588 | } |
| | 589 | }); |
| | 590 | }); |
| | 591 | } |
| | 592 | catch(e) { } |
| 582 | 593 | </script> |
| 583 | 594 | <?php |
| 584 | 595 | endif; |