]> source.dussan.org Git - jquery-ui.git/commitdiff
Dialog: Changed IE6 overlay width adjustment to apply to all IE versions. Fixed ...
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 18 May 2011 15:12:01 +0000 (17:12 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 18 May 2011 15:12:01 +0000 (17:12 +0200)
(cherry picked from commit 29b36bb4090632aaf306cc44591386c0263c9d27)

ui/jquery.ui.dialog.js

index 56af35d41647553362a7466b713898fb17c0167b..2594a4b28b805b5df82786a43ad6b2f8182ac339 100644 (file)
@@ -823,8 +823,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