Navigation Menu

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
  • Loading branch information
kborchers committed May 12, 2011
1 parent 1845015 commit 29b36bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/jquery.ui.dialog.js
Expand Up @@ -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
Expand Down

0 comments on commit 29b36bb

Please sign in to comment.