diff --git a/content.js b/content.js index 3bce012..3d324e2 100644 --- a/content.js +++ b/content.js @@ -8,13 +8,8 @@ var makeReadable = function() { if (topNav) { topNav.classList.remove('u-fixed'); } - // Remove the footer - var getUpdatesBar = document.querySelector('.js-stickyFooter'); - if (getUpdatesBar) { - getUpdatesBar.style.display = 'none'; - } - // Load remaining styles + // Inject remaining styles // This check makes sure the extension works on Chrome and Firefox. if (typeof browser === 'undefined') { browser = chrome; diff --git a/medium.css b/medium.css index 1b10177..f8a933b 100644 --- a/medium.css +++ b/medium.css @@ -2,6 +2,8 @@ * medium.css * Contains default styles to inject into Medium publications. */ -.postMeterBar, .openInAppButton { +.postMeterBar, +.openInAppButton, +.js-stickyFooter { display: none; }