Skip to content

Commit 29b36bb

Browse files
committed
Dialog: Changed IE6 overlay width adjustment to apply to all IE versions. Fixed #3623 - Opening a Modal Dialog shows a horizontal scroll bar
1 parent 1845015 commit 29b36bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/jquery.ui.dialog.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -780,8 +780,8 @@ $.extend( $.ui.dialog.overlay, {
780780
width: function() {
781781
var scrollWidth,
782782
offsetWidth;
783-
// handle IE 6
784-
if ( $.browser.msie && $.browser.version < 7 ) {
783+
// handle IE
784+
if ( $.browser.msie ) {
785785
scrollWidth = Math.max(
786786
document.documentElement.scrollWidth,
787787
document.body.scrollWidth

0 commit comments

Comments
 (0)