Skip to content
Snippets Groups Projects
Commit f3029b1b authored by maria-moroz's avatar maria-moroz
Browse files

Update navigation.js

parent 13be0b85
Branches
No related tags found
No related merge requests found
......@@ -2,7 +2,6 @@ import { changeToHomeHeaderMarkup, changeToLibraryHeaderMarkup } from './dynamic
import { onWatchedBtnClick, queueBtnToggleOff, watchedBtnToggleOff } from './libraryButtons';
import { hidePagination, showPagination } from './pagination';
import renderPopFilms from './showMovieGallery';
import { showSwitcher, hideSwitcher } from './theme-switcher';
const refs = {
logo: document.querySelector('.logo'),
......@@ -21,7 +20,6 @@ const homeMarkup = () => {
queueBtnToggleOff();
watchedBtnToggleOff();
showPagination();
showSwitcher();
refs.slider.classList.remove('hidden');
};
......@@ -32,7 +30,6 @@ const libraryMarkup = () => {
changeToLibraryHeaderMarkup();
onWatchedBtnClick();
hidePagination();
hideSwitcher();
};
function onNavItemClick(e) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment