Skip to content

Commit

Permalink
Dialog: Changed IE6 overlay width adjustment to apply to all IE versi…
Browse files Browse the repository at this point in the history
…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 fab1729
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/jquery.ui.dialog.js
Expand Up @@ -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
Expand Down

0 comments on commit fab1729

Please sign in to comment.