From 11da1601140174e4fa4e0e25e7f66fc21c08e927 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sun, 11 Nov 2018 12:07:42 +0200 Subject: Use `h5` for callouts so that they are not included in ToC. Callouts are already excluded from ToC, but due to a limitation in jekyll-toc they are still being included. We should revisit this if the bug is fixed later. --- site/docs/4.1/getting-started/javascript.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'site/docs/4.1/getting-started/javascript.md') diff --git a/site/docs/4.1/getting-started/javascript.md b/site/docs/4.1/getting-started/javascript.md index 7f59ac213..534e2fd42 100644 --- a/site/docs/4.1/getting-started/javascript.md +++ b/site/docs/4.1/getting-started/javascript.md @@ -35,7 +35,7 @@ $(document).off('.alert.data-api') {% endhighlight %} {% capture callout %} -## Selectors +##### Selectors Currently to query DOM elements we use the native methods `querySelector` and `querySelectorAll` for performance reasons, so you have to use [valid selectors](https://www.w3.org/TR/CSS21/syndata.html#value-def-identifier). If you use special selectors, for example: `collapse:Example` be sure to escape them. -- cgit v1.2.3