From: kborchers Date: Thu, 12 May 2011 18:31:15 +0000 (-0500) Subject: Dialog: Changed IE6 overlay width adjustment to apply to all IE versions. Fixed ... X-Git-Tag: 1.9m5~7^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=29b36bb4090632aaf306cc44591386c0263c9d27;p=jquery-ui.git Dialog: Changed IE6 overlay width adjustment to apply to all IE versions. Fixed #3623 - Opening a Modal Dialog shows a horizontal scroll bar --- diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js index 2138a9a58..2e8fb7f18 100644 --- a/ui/jquery.ui.dialog.js +++ b/ui/jquery.ui.dialog.js @@ -780,8 +780,8 @@ $.extend( $.ui.dialog.overlay, { width: function() { var scrollWidth, offsetWidth; - // handle IE 6 - if ( $.browser.msie && $.browser.version < 7 ) { + // handle IE + if ( $.browser.msie ) { scrollWidth = Math.max( document.documentElement.scrollWidth, document.body.scrollWidth