WordPress.org

Make WordPress Core

Ticket #21334: 21334.4.diff

File 21334.4.diff, 1.0 KB (added by lessbloat, 5 years ago)
  • wp-admin/js/inline-edit-post.js

     
    6969                        t.revert();
    7070                        $('select[name^="action"]').val('-1');
    7171                });
     72
     73        //show the 'quick links' section when user tabs into post title triggering focus
     74        $('td.post-title a').on('focus', function(e){
     75            $(this).parents('.post-title').first().find('.row-actions').addClass('show-row-actions');
     76        }).on('blur', function () {
     77                $(this).parents('.post-title').first().find('.row-actions').removeClass('show-row-actions');
     78        });
    7279        },
    7380
    7481        toggle : function(el){
  • wp-admin/css/wp-admin.css

     
    62256225        visibility: visible;
    62266226}
    62276227
     6228.show-row-actions {
     6229        visibility: visible;
     6230}
     6231
    62286232.row-actions-visible {
    62296233        padding: 2px 0 0;
    62306234}