diff --git a/wp-content/themes/twentyfifteen/js/functions.js b/wp-content/themes/twentyfifteen/js/functions.js index f26293edab..f968885829 100644 --- a/wp-content/themes/twentyfifteen/js/functions.js +++ b/wp-content/themes/twentyfifteen/js/functions.js @@ -100,16 +100,13 @@ sidebarHeight = $sidebar.height(), bodyHeight = $body.height(); - if( 955 < $window.width() - && bodyHeight > sidebarHeight - && ( windowPos + windowHeight ) >= sidebarHeight ) { - + if( 955 < $window.width() && bodyHeight > sidebarHeight && ( windowPos + windowHeight ) >= sidebarHeight ) { $sidebar.css({ - position: "fixed", + position: 'fixed', bottom: sidebarHeight > windowHeight ? 0 : 'auto' }); } else { - $sidebar.css('position', 'relative') + $sidebar.css('position', 'relative'); } } diff --git a/wp-includes/version.php b/wp-includes/version.php index 4d926189a2..fd319c3dbe 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-beta1-46309'; +$wp_version = '5.3-beta1-46310'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.