16 lines
601 B
TypeScript
16 lines
601 B
TypeScript
import handleIndexPanel from './index-panel';
|
|
import handleFootnoteFormat from './footnote-format';
|
|
import handleCiteButton from './cite-button';
|
|
import { handleArticleToolbar } from './article-toolbar.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();
|
|
handleArticleToolbar();
|
|
}
|