mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Dialog: Changed IE6 overlay width adjustment to apply to all IE versions. Fixed #3623 - Opening a Modal Dialog shows a horizontal scroll bar
This commit is contained in:
parent
1845015c09
commit
29b36bb409
4
ui/jquery.ui.dialog.js
vendored
4
ui/jquery.ui.dialog.js
vendored
@ -780,8 +780,8 @@ $.extend( $.ui.dialog.overlay, {
|
|||||||
width: function() {
|
width: function() {
|
||||||
var scrollWidth,
|
var scrollWidth,
|
||||||
offsetWidth;
|
offsetWidth;
|
||||||
// handle IE 6
|
// handle IE
|
||||||
if ( $.browser.msie && $.browser.version < 7 ) {
|
if ( $.browser.msie ) {
|
||||||
scrollWidth = Math.max(
|
scrollWidth = Math.max(
|
||||||
document.documentElement.scrollWidth,
|
document.documentElement.scrollWidth,
|
||||||
document.body.scrollWidth
|
document.body.scrollWidth
|
||||||
|
Loading…
Reference in New Issue
Block a user