Changeset 25593
- Timestamp:
- 09/24/2013 02:03:41 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/inline-edit-post.js
r25039 r25593 69 69 t.revert(); 70 70 $('select[name^="action"]').val('-1'); 71 }); 72 73 // Show the 'quick links' section when user tabs into post title triggering focus. 74 var transitionTimeout, focusedRow; 75 $( 'td.post-title' ).focusin(function(){ 76 clearTimeout( transitionTimeout ); 77 focusedRow = $(this); 78 focusedRow.find( '.row-actions' ).addClass( 'visible' ); 79 }).focusout(function(){ 80 // Tabbing between post title and .row-actions links needs a brief pause, otherwise 81 // the .row-actions div gets hidden in transit in some browsers (ahem, Firefox). 82 transitionTimeout = setTimeout(function(){ 83 focusedRow.find( '.row-actions' ).removeClass( 'visible' ); 84 }, 30); 71 85 }); 72 86 },
Note: See TracChangeset
for help on using the changeset viewer.