Merge "jquery.suggestions: Use document.documentElement.clientWidth"
This commit is contained in:
commit
25ae1749cb
1 changed files with 3 additions and 2 deletions
|
|
@ -413,7 +413,8 @@
|
|||
} else {
|
||||
// Expand from right
|
||||
newCSS.left = 'auto';
|
||||
newCSS.right = $( 'body' ).width() - ( regionPosition.left + context.config.$region.outerWidth() );
|
||||
newCSS.right = document.documentElement.clientWidth -
|
||||
( regionPosition.left + context.config.$region.outerWidth() );
|
||||
}
|
||||
|
||||
context.data.$container.css( newCSS );
|
||||
|
|
@ -720,7 +721,7 @@
|
|||
);
|
||||
} )
|
||||
)
|
||||
.appendTo( $( 'body' ) );
|
||||
.appendTo( document.body );
|
||||
|
||||
$( this )
|
||||
// Stop browser autocomplete from interfering
|
||||
|
|
|
|||
Loading…
Reference in a new issue