diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2016-03-31 00:06:36 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2016-04-13 11:31:59 -0400 |
commit | 9dd2576494166e0324ef3c9714a43ecfd8db90d1 (patch) | |
tree | e69e9b51b53818848d03f35ba01adc4e0e333907 /ui | |
parent | c4e5d73b36ab64a205877abf415f41eb7e9a2d74 (diff) | |
download | jquery-ui-9dd2576494166e0324ef3c9714a43ecfd8db90d1.tar.gz jquery-ui-9dd2576494166e0324ef3c9714a43ecfd8db90d1.zip |
Scroll Parent: Fix line length issues
Ref gh-1690
Diffstat (limited to 'ui')
-rw-r--r-- | ui/scroll-parent.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/scroll-parent.js b/ui/scroll-parent.js index 478b86ae3..e64691988 100644 --- a/ui/scroll-parent.js +++ b/ui/scroll-parent.js @@ -33,10 +33,13 @@ return $.fn.scrollParent = function( includeHidden ) { if ( excludeStaticParent && parent.css( "position" ) === "static" ) { return false; } - return overflowRegex.test( parent.css( "overflow" ) + parent.css( "overflow-y" ) + parent.css( "overflow-x" ) ); + return overflowRegex.test( parent.css( "overflow" ) + parent.css( "overflow-y" ) + + parent.css( "overflow-x" ) ); } ).eq( 0 ); - return position === "fixed" || !scrollParent.length ? $( this[ 0 ].ownerDocument || document ) : scrollParent; + return position === "fixed" || !scrollParent.length ? + $( this[ 0 ].ownerDocument || document ) : + scrollParent; }; } ) ); |