aboutsummaryrefslogtreecommitdiffstats
path: root/ui/scroll-parent.js
diff options
context:
space:
mode:
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;
};
} ) );