Merge "Don't print table of contents on page with no table of contents"
This commit is contained in:
commit
8626e14ec1
|
@ -1,6 +1,8 @@
|
|||
<div class="mw-table-of-contents-container">
|
||||
{{! T313060 Additional container div needed to prevent the sticky element from being siblings with the footer }}
|
||||
{{#data-toc}}
|
||||
<div class="vector-sticky-toc-container mw-sticky-header-element">
|
||||
{{#data-toc}}{{>TableOfContents}}{{/data-toc}}
|
||||
{{>TableOfContents}}
|
||||
</div>
|
||||
{{/data-toc}}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue