WordPress/wp-content/themes/twentyfifteen/js
audrasjb 9564a68697 Twenty Fifteen: Use `#page` height instead of `body` height in sidebar scroll calculation.
This changeset replaces `bodyHeight = $body.height();` with `bodyHeight = $('#page).height();`. It fixes a JS issue in some specific context, when there is content generated right before the closing `body` tag. For example, this happens when the HTML content is added using the `wp_footer` filter.

Props stephenharris, sabernhardt, audrasjb.
Fixes #40492.

Built from https://develop.svn.wordpress.org/trunk@53247


git-svn-id: http://core.svn.wordpress.org/trunk@52836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-04-24 21:03:10 +00:00
..
color-scheme-control.js Twenty Fifteen: Don't save unfiltered CSS in a setting. 2014-12-16 12:27:26 +00:00
customize-preview.js Twenty Fifteen: Don't save unfiltered CSS in a setting. 2014-12-16 12:27:26 +00:00
functions.js Twenty Fifteen: Use `#page` height instead of `body` height in sidebar scroll calculation. 2022-04-24 21:03:10 +00:00
html5.js
keyboard-image-navigation.js Twenty Fifteen: minor file cleanup. 2014-12-10 13:39:24 +00:00
skip-link-focus-fix.js Twenty Fifteen: clean up skip-link-focus-fix.js, see #29799 2014-10-15 05:49:19 +00:00