Permalink
Browse files

Dialog: Changed IE6 overlay width adjustment to apply to all IE versi…

…ons. Fixed #3623 - Opening a Modal Dialog shows a horizontal scroll bar
  • Loading branch information...
1 parent 1845015 commit 29b36bb4090632aaf306cc44591386c0263c9d27 @kborchers kborchers committed May 12, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 ui/jquery.ui.dialog.js
View
@@ -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

0 comments on commit 29b36bb

Please sign in to comment.