fix: красная книга не скрывалась в сайдбаре при отключении (href без .html)
This commit is contained in:
@@ -589,7 +589,7 @@ async function hideDisabledFeatures() {
|
||||
hangman: ['/hangman'],
|
||||
crossword: ['/crossword'],
|
||||
pet: ['/pet'],
|
||||
red_book: ['/red-book.html', '/red-book-ecosystem.html', '/red-book-biomes.html'],
|
||||
red_book: ['/red-book', '/red-book.html', '/red-book-ecosystem.html', '/red-book-biomes.html'],
|
||||
collection: ['/collection.html', '/collection'],
|
||||
lab: ['/lab'],
|
||||
knowledge_map: ['/knowledge-map'],
|
||||
@@ -624,7 +624,7 @@ async function hideDisabledFeatures() {
|
||||
const classOnlyHrefs = [
|
||||
'/board', '/lab', '/hangman', '/crossword', '/pet',
|
||||
'/collection', '/collection.html', '/knowledge-map',
|
||||
'/red-book.html', '/red-book-ecosystem.html', '/red-book-biomes.html',
|
||||
'/red-book', '/red-book.html', '/red-book-ecosystem.html', '/red-book-biomes.html',
|
||||
'/flashcards', '/live-quiz',
|
||||
];
|
||||
classOnlyHrefs.forEach(href => {
|
||||
|
||||
Reference in New Issue
Block a user