diff options
Diffstat (limited to 'src/components/Widgets/ToC')
| -rw-r--r-- | src/components/Widgets/ToC/ToC.tsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/components/Widgets/ToC/ToC.tsx b/src/components/Widgets/ToC/ToC.tsx index f3f783c..89ca8d4 100644 --- a/src/components/Widgets/ToC/ToC.tsx +++ b/src/components/Widgets/ToC/ToC.tsx @@ -37,6 +37,13 @@ const ToC = () => { return ( <ExpandableWidget title={title} kind="toc" expand={true} withBorders={true}> + <noscript> + {intl.formatMessage({ + defaultMessage: + 'Javascript is required to use the table of contents.', + description: 'ToC: noscript tag', + })} + </noscript> <OrderedList items={getItems(headingsTree)} /> </ExpandableWidget> ); |
