Ticket #22975: 22975.thickbox.patch
File 22975.thickbox.patch, 992 bytes (added by , 11 years ago) |
---|
-
wp-includes/js/thickbox/thickbox.js
20 20 21 21 //add thickbox to href & area elements that have a class of .thickbox 22 22 function tb_init(domChunk){ 23 jQuery( domChunk).live('click', tb_click);23 jQuery('body').on('click', domChunk, tb_click); 24 24 } 25 25 26 26 function tb_click(){ -
wp-admin/js/plugin-install.js
27 27 28 28 $(window).resize(function(){ tb_position(); }); 29 29 30 $('#dashboard_plugins a.thickbox, .plugins a.thickbox').click(function() {30 $('#dashboard_plugins, .plugins').on( 'click', 'a.thickbox', function() { 31 31 tb_click.call(this); 32 32 33 33 $('#TB_title').css({'background-color':'#222','color':'#cfcfcf'});