aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.dialog.js
diff options
context:
space:
mode:
authorkborchers <k_borchers@yahoo.com>2011-05-12 13:31:15 -0500
committerkborchers <k_borchers@yahoo.com>2011-05-12 13:31:15 -0500
commit29b36bb4090632aaf306cc44591386c0263c9d27 (patch)
tree693408477bce9c2f9dd0126230241e6e36cf4580 /ui/jquery.ui.dialog.js
parent1845015c09d527abde8095f8e2209f06d879a2b3 (diff)
downloadjquery-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.js4
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