aboutsummaryrefslogtreecommitdiff
path: root/site/docs/4.1/getting-started/javascript.md
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2018-11-11 12:07:42 +0200
committerXhmikosR <[email protected]>2018-11-27 16:01:07 +0200
commit11da1601140174e4fa4e0e25e7f66fc21c08e927 (patch)
tree1af440d9def0d5a50c6d4d12820bfbc195449c78 /site/docs/4.1/getting-started/javascript.md
parentcb2b21bb88604dee22bd4d0f2804d8366b2d65e3 (diff)
downloadbootstrap-11da1601140174e4fa4e0e25e7f66fc21c08e927.tar.xz
bootstrap-11da1601140174e4fa4e0e25e7f66fc21c08e927.zip
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.
Diffstat (limited to 'site/docs/4.1/getting-started/javascript.md')
-rw-r--r--site/docs/4.1/getting-started/javascript.md2
1 files changed, 1 insertions, 1 deletions
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.