Ticket #8933: 8933.diff
| File 8933.diff, 1.1 KB (added by Denis-de-Bernardy, 3 years ago) |
|---|
-
Users/denis/Sites/sem-pro/wp-includes/js/thickbox/thickbox.js
8 8 var tb_pathToImage = "../wp-includes/js/thickbox/loadingAnimation.gif"; 9 9 var tb_closeImage = "../wp-includes/js/thickbox/tb-close.png"; 10 10 11 jQuery.browser.msie6 = jQuery.browser.msie 12 && parseInt(jQuery.browser.version) == 6 13 && typeof this.XMLHttpRequest == 'undefined'; 14 11 15 /*!!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/ 12 16 13 17 //on page load call tb_init … … 282 286 283 287 function tb_position() { 284 288 jQuery("#TB_window").css({marginLeft: '-' + parseInt((TB_WIDTH / 2),10) + 'px', width: TB_WIDTH + 'px'}); 285 if ( ! (jQuery.browser.msie && jQuery.browser.version < 7)) { // take away IE6289 if ( !jQuery.browser.msie6 ) { // take away IE6 286 290 jQuery("#TB_window").css({marginTop: '-' + parseInt((TB_HEIGHT / 2),10) + 'px'}); 287 291 } 288 292 }
