| | 72 | var transitionTimeout; |
| | 73 | //show the 'quick links' section when user tabs into post title triggering focus |
| | 74 | $('td.post-title a').focusin( function(e){ |
| | 75 | clearTimeout(transitionTimeout); |
| | 76 | $(this).parents('.post-title').first().find('.row-actions').addClass('show-row-actions'); |
| | 77 | }).focusout( function () { |
| | 78 | var that = $(this); |
| | 79 | // Tabbing between post title and .row-actions links needs a breif pause in some browsers |
| | 80 | // else the .row-actions div gets hidden in transit |
| | 81 | transitionTimeout = setTimeout( function () { |
| | 82 | that.parents('.post-title').first().find('.row-actions').removeClass('show-row-actions'); |
| | 83 | }, 30 ); |
| | 84 | }); |