mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Add hotkeys.js to all pages that list comments and prevent error if not loaded, see #7643
git-svn-id: https://develop.svn.wordpress.org/trunk@8780 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -235,7 +235,8 @@ commentReply = {
|
||||
$(document).ready(function(){
|
||||
if ( typeof QTags != 'undefined' )
|
||||
ed_reply = new QTags('ed_reply', 'replycontent', 'replycontainer', 'more');
|
||||
jQuery.table_hotkeys(jQuery('table.widefat'), ['a', 'u', 's', 'd', 'r']);
|
||||
if ( typeof $.table_hotkeys != 'undefined' )
|
||||
$.table_hotkeys($('table.widefat'), ['a', 'u', 's', 'd', 'r']);
|
||||
});
|
||||
|
||||
})(jQuery);
|
||||
|
||||
Reference in New Issue
Block a user