Changeset 53247
- Timestamp:
- 04/24/2022 09:01:09 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfifteen/js/functions.js
r52285 r53247 100 100 windowHeight = $window.height(), 101 101 sidebarHeight = $sidebar.height(), 102 bodyHeight = $body.height();102 pageHeight = $( '#page' ).height(); 103 103 104 if ( 955 < $window.width() && bodyHeight > sidebarHeight && ( windowPos + windowHeight ) >= sidebarHeight ) {104 if ( 955 < $window.width() && pageHeight > sidebarHeight && ( windowPos + windowHeight ) >= sidebarHeight ) { 105 105 $sidebar.css({ 106 106 position: 'fixed',
Note: See TracChangeset
for help on using the changeset viewer.