mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 06:37:06 +00:00
Fix Thickbox position for browsers pretending to be IE6
git-svn-id: https://develop.svn.wordpress.org/trunk@10365 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
|
||||
var thickDims;
|
||||
jQuery(document).ready(function($) {
|
||||
if ( 'undefined' == typeof $.fn.pngFix )
|
||||
$.fn.pngFix = function() { return this; }
|
||||
|
||||
var thickDims = function() {
|
||||
thickDims = function() {
|
||||
var tbWindow = $('#TB_window'), H = $(window).height(), W = $(window).width();
|
||||
|
||||
if ( tbWindow.size() ) {
|
||||
@@ -38,3 +37,7 @@ jQuery(document).ready(function($) {
|
||||
|
||||
$(window).resize( function() { thickDims() } );
|
||||
});
|
||||
|
||||
function tb_position() {
|
||||
thickDims();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user