1
0
mirror of https://github.com/thebaer/MMRA synced 2024-11-13 10:11:01 +00:00

Fix sticky header bar

Medium changed some things; this fixes it again.
This commit is contained in:
Matt Baer 2019-07-23 13:29:17 -04:00
parent 2287e7f0af
commit b1815e7687

View File

@ -4,9 +4,9 @@
var makeReadable = function() {
// Un-position:fixed the top nav bar
var topNav = document.querySelector('.metabar.u-fixed');
var topNav = document.querySelector('.branch-journeys-top');
if (topNav) {
topNav.classList.remove('u-fixed');
topNav.parentNode.style.position = 'absolute';
}
// Remove the "Pardon the interruption" popup.