* Add user articles to sidebar * Add organization save-all functionality * Adjust articles that show up in side sticky bar * Add conditional for @user_stickies to show up * Misc change to styles * Slight change * Modified footer center show stuff
13 lines
341 B
JavaScript
13 lines
341 B
JavaScript
function initializeFooterMod() {
|
|
if (
|
|
document.getElementById('page-content').className.indexOf('stories-show') > -1
|
|
) {
|
|
document
|
|
.getElementById('footer-container')
|
|
.classList.remove('centered-footer');
|
|
} else {
|
|
document
|
|
.getElementById('footer-container')
|
|
.classList.add('centered-footer');
|
|
}
|
|
}
|