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:
parent
2287e7f0af
commit
b1815e7687
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user