diff --git a/_config.yml b/_config.yml index 5f45e0b734af..6d62f17e5be9 100644 --- a/_config.yml +++ b/_config.yml @@ -49,7 +49,7 @@ cdn: css_hash: "sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" js: https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js js_hash: "sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" - jquery: https://code.jquery.com/jquery-3.2.0.slim.min.js - jquery_hash: "sha384-1IgS1w1Tef85fCJ4P3BUG2mk9zC/mUicyWWxzNPI1PIVe8Tnq0XHGbE6gWOTyBgt" + jquery: https://code.jquery.com/jquery-3.2.1.slim.min.js + jquery_hash: "sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" tether: https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js tether_hash: "sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" diff --git a/docs/assets/js/vendor/jquery-slim.min.js b/docs/assets/js/vendor/jquery-slim.min.js index 2dbefe93f35d..6cdf1eecf0d7 100644 --- a/docs/assets/js/vendor/jquery-slim.min.js +++ b/docs/assets/js/vendor/jquery-slim.min.js @@ -1,5 +1,5 @@ /*! - * jQuery JavaScript Library v3.2.0 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseXML,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-event/ajax,-effects,-effects/Tween,-effects/animatedSelector + * jQuery JavaScript Library v3.2.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseXML,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-event/ajax,-effects,-effects/Tween,-effects/animatedSelector * https://jquery.com/ * * Includes Sizzle.js @@ -9,7 +9,7 @@ * Released under the MIT license * https://jquery.org/license * - * Date: 2017-03-16T21:26Z + * Date: 2017-03-20T19:00Z */ ( function( global, factory ) { @@ -88,7 +88,7 @@ var support = {}; var - version = "3.2.0 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseXML,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-event/ajax,-effects,-effects/Tween,-effects/animatedSelector", + version = "3.2.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseXML,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-event/ajax,-effects,-effects/Tween,-effects/animatedSelector", // Define a local copy of jQuery jQuery = function( selector, context ) { @@ -5343,11 +5343,9 @@ jQuery.event = { }, click: { - // For checkable types, fire native event so checked state will be right + // For checkbox, fire native event so checked state will be right trigger: function() { - if ( rcheckableType.test( this.type ) && - this.click && nodeName( this, "input" ) ) { - + if ( this.type === "checkbox" && this.click && nodeName( this, "input" ) ) { this.click(); return false; } @@ -6167,6 +6165,11 @@ var getStyles = function( elem ) { function curCSS( elem, name, computed ) { var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements style = elem.style; computed = computed || getStyles( elem ); @@ -6355,6 +6358,12 @@ function getWidthOrHeight( elem, name, extra ) { valueIsBorderBox = isBorderBox && ( support.boxSizingReliable() || val === elem.style[ name ] ); + // Fall back to offsetWidth/Height when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + if ( val === "auto" ) { + val = elem[ "offset" + name[ 0 ].toUpperCase() + name.slice( 1 ) ]; + } + // Normalize "", auto, and prepare for extra val = parseFloat( val ) || 0; @@ -8078,16 +8087,16 @@ jQuery.fn.extend( { return arguments.length === 1 ? this.off( selector, "**" ) : this.off( types, selector || "**", fn ); - }, - holdReady: function( hold ) { - if ( hold ) { - jQuery.readyWait++; - } else { - jQuery.ready( true ); - } } } ); +jQuery.holdReady = function( hold ) { + if ( hold ) { + jQuery.readyWait++; + } else { + jQuery.ready( true ); + } +}; jQuery.isArray = Array.isArray; jQuery.parseJSON = JSON.parse; jQuery.nodeName = nodeName; diff --git a/docs/examples/album/index.html b/docs/examples/album/index.html index 85e570c4e483..36d567540111 100644 --- a/docs/examples/album/index.html +++ b/docs/examples/album/index.html @@ -116,7 +116,7 @@