annotate core/assets/vendor/jquery.ui/ui/scroll-parent-min.js @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author |
Chris Cannam |
date |
Fri, 23 Feb 2018 15:52:07 +0000 |
parents |
4c8ae668cc8c |
children |
|
rev |
line source |
Chris@0
|
1 /*! jQuery UI - v1.12.1 - 2017-03-31
|
Chris@0
|
2 * http://jqueryui.com
|
Chris@0
|
3 * Copyright jQuery Foundation and other contributors; Licensed */
|
Chris@0
|
4 !function(a){"function"==typeof define&&define.amd?define(["jquery","./version"],a):a(jQuery)}(function(a){return a.fn.scrollParent=function(b){var c=this.css("position"),d="absolute"===c,e=b?/(auto|scroll|hidden)/:/(auto|scroll)/,f=this.parents().filter(function(){var b=a(this);return(!d||"static"!==b.css("position"))&&e.test(b.css("overflow")+b.css("overflow-y")+b.css("overflow-x"))}).eq(0);return"fixed"!==c&&f.length?f:a(this[0].ownerDocument||document)}}); |