mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 07:43:47 +00:00
Fix CSS selector for 'mw:tocplace' element
The colon needs to be escaped, otherwise it is treated as an invalid pseudoclass. Change-Id: I328851cfbd8ab3604b89a43bc5c854d1f90b306e
This commit is contained in:
parent
fd4c4f5c34
commit
7107b9d72b
|
@ -15,7 +15,7 @@ const
|
|||
BODY_CONTENT_ID = 'bodyContent',
|
||||
HEADLINE_SELECTOR = '.mw-headline',
|
||||
TOC_SECTION_ID_PREFIX = 'toc-',
|
||||
TOC_LEGACY_PLACEHOLDER_SELECTOR = 'mw:tocplace,meta[property="mw:PageProp/toc"]',
|
||||
TOC_LEGACY_PLACEHOLDER_SELECTOR = 'mw\\3Atocplace,meta[property="mw:PageProp/toc"]',
|
||||
TOC_SCROLL_HOOK = 'table_of_contents',
|
||||
TOC_COLLAPSED_CLASS = 'vector-toc-collapsed',
|
||||
PAGE_TITLE_SCROLL_HOOK = 'page_title',
|
||||
|
|
Loading…
Reference in a new issue