diff options
author | kborchers <k_borchers@yahoo.com> | 2011-05-12 13:31:15 -0500 |
---|---|---|
committer | kborchers <k_borchers@yahoo.com> | 2011-05-12 13:31:15 -0500 |
commit | 29b36bb4090632aaf306cc44591386c0263c9d27 (patch) | |
tree | 693408477bce9c2f9dd0126230241e6e36cf4580 /ui/jquery.ui.dialog.js | |
parent | 1845015c09d527abde8095f8e2209f06d879a2b3 (diff) | |
download | jquery-ui-29b36bb4090632aaf306cc44591386c0263c9d27.tar.gz jquery-ui-29b36bb4090632aaf306cc44591386c0263c9d27.zip |
Dialog: Changed IE6 overlay width adjustment to apply to all IE versions. Fixed #3623 - Opening a Modal Dialog shows a horizontal scroll bar
Diffstat (limited to 'ui/jquery.ui.dialog.js')
-rw-r--r-- | ui/jquery.ui.dialog.js | 4 |
1 files changed, 2 insertions, 2 deletions
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 |