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:
Andrew Ozz
2009-01-15 14:56:52 +00:00
parent c3040a615e
commit 11743ff0c0
4 changed files with 10 additions and 6 deletions
+6 -3
View File
@@ -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();
}