aboutsummaryrefslogtreecommitdiffstats
path: root/ui/scroll-parent.js
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2016-03-31 00:06:36 -0400
committerScott González <scott.gonzalez@gmail.com>2016-04-13 11:31:59 -0400
commit9dd2576494166e0324ef3c9714a43ecfd8db90d1 (patch)
treee69e9b51b53818848d03f35ba01adc4e0e333907 /ui/scroll-parent.js
parentc4e5d73b36ab64a205877abf415f41eb7e9a2d74 (diff)
downloadjquery-ui-9dd2576494166e0324ef3c9714a43ecfd8db90d1.tar.gz
jquery-ui-9dd2576494166e0324ef3c9714a43ecfd8db90d1.zip
Scroll Parent: Fix line length issues
Ref gh-1690
Diffstat (limited to 'ui/scroll-parent.js')
-rw-r--r--ui/scroll-parent.js7
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;
};
} ) );