carhop__dynamiques-theme__P.../resources/js/singles/singles.ts
Nonimart d5f86028c1
All checks were successful
continuous-integration/drone/push Build is passing
FEATURE Implkementing innersearch revues and refgactoring search results
2025-10-16 16:19:22 +02:00

26 lines
983 B
TypeScript

import handleIndexPanel from './index-panel';
import handleFootnoteFormat from './footnote-format';
import handleCiteButton from './cite-button';
import handleLikeButton from './like-button.ts';
import handleShareButton from './share-button.ts';
import handleArticleReader from './reader.ts';
import { handleArticleToolbar } from './article-toolbar.ts';
import { handleRevueToolbar } from './revue-toolbar.ts';
import handleSearchRevue from './search-revue.ts';
export default function singles(): void {
const isSingleRevue: HTMLElement | null = document.querySelector('.page--single-revue');
const isSingleArticle: HTMLElement | null = document.querySelector('.page--single-articles');
if (!isSingleRevue && !isSingleArticle) return;
handleIndexPanel();
handleFootnoteFormat();
handleCiteButton();
handleLikeButton();
handleArticleToolbar();
handleRevueToolbar();
handleShareButton();
handleArticleReader();
handleSearchRevue();
}