Ticket #16262: garyc40.16262.hotkey.diff
File garyc40.16262.hotkey.diff, 545 bytes (added by , 13 years ago) |
---|
-
wp-admin/js/edit-comments.dev.js
diff --git wp-admin/js/edit-comments.dev.js wp-admin/js/edit-comments.dev.js index 5ca2fb6..4774d4c 100644
$(document).ready(function(){ 495 495 var first_last, l; 496 496 497 497 first_last = 'next' == which? 'first' : 'last'; 498 l = $('. '+which+'.page-numbers');498 l = $('.tablenav-pages .'+which+'-page'); 499 499 if (l.length) 500 500 window.location = l[0].href.replace(/\&hotkeys_highlight_(first|last)=1/g, '')+'&hotkeys_highlight_'+first_last+'=1'; 501 501 }