mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-10-05 01:44:18 +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
(cherry picked from commit 29b36bb409
)
This commit is contained in:
parent
c45dd91f1b
commit
fab17293e4
4
ui/jquery.ui.dialog.js
vendored
4
ui/jquery.ui.dialog.js
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user