REFACTOR optimizing injecting id to h2 by injecting in php instead of javascript
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Nonimart 2025-08-21 15:08:10 +02:00
parent 71ee6d1bb6
commit 54b671d902

View File

@ -1,7 +1,6 @@
import handleIndexPanel from './index-panel';
import handleFootnoteFormat from './footnote-format';
import handleCiteButton from './cite-button';
import { injectIdToNativeTitles } from './sommaire';
import { handleArticleToolbar } from './article-toolbar.ts';
export default function singles(): void {
@ -9,8 +8,6 @@ export default function singles(): void {
const isSingleArticle: HTMLElement | null = document.querySelector('.page--single-articles');
if (!isSingleRevue && !isSingleArticle) return;
injectIdToNativeTitles();
handleIndexPanel();
handleFootnoteFormat();
handleCiteButton();