Skip to content
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

(cherry picked from commit 29b36bb)
  • Loading branch information...
jzaefferer committed May 18, 2011
1 parent c45dd91 commit fab17293e455f31435bf731007ee2badfed1fc31
Showing with 2 additions and 2 deletions.
  1. +2 −2 ui/jquery.ui.dialog.js
@@ -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

0 comments on commit fab1729

Please sign in to comment.
You can’t perform that action at this time.