mirror of
https://github.com/thebaer/MMRA
synced 2024-11-13 10:11:01 +00:00
Move .js-stickyFooter out of JS to CSS file
This commit is contained in:
parent
563a0d6403
commit
b35bd27301
@ -8,13 +8,8 @@ var makeReadable = function() {
|
|||||||
if (topNav) {
|
if (topNav) {
|
||||||
topNav.classList.remove('u-fixed');
|
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.
|
// This check makes sure the extension works on Chrome and Firefox.
|
||||||
if (typeof browser === 'undefined') {
|
if (typeof browser === 'undefined') {
|
||||||
browser = chrome;
|
browser = chrome;
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
* medium.css
|
* medium.css
|
||||||
* Contains default styles to inject into Medium publications.
|
* Contains default styles to inject into Medium publications.
|
||||||
*/
|
*/
|
||||||
.postMeterBar, .openInAppButton {
|
.postMeterBar,
|
||||||
|
.openInAppButton,
|
||||||
|
.js-stickyFooter {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user