]> source.dussan.org Git - jquery-ui.git/commitdiff
Dialog: Changed IE6 overlay width adjustment to apply to all IE versions. Fixed ... 262/head
authorkborchers <k_borchers@yahoo.com>
Thu, 12 May 2011 18:31:15 +0000 (13:31 -0500)
committerkborchers <k_borchers@yahoo.com>
Thu, 12 May 2011 18:31:15 +0000 (13:31 -0500)
ui/jquery.ui.dialog.js

index 2138a9a58abba250394d1824bdf11449050245a2..2e8fb7f18026648e18c85bc0f1a7d262700c7f84 100644 (file)
@@ -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