diff options
| -rw-r--r-- | javascript.html | 2 | ||||
| -rw-r--r-- | js/dropdown.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/javascript.html b/javascript.html index 9d39c0a88..d39d9c321 100644 --- a/javascript.html +++ b/javascript.html @@ -1556,7 +1556,7 @@ $('#myCollapsible').on('hidden.bs.collapse', function () { {% endhighlight %} <div class="bs-callout bs-callout-info"> <h4>Glyphicon Alternative</h4> - <p>With <a href="/css/#glyphicons">Glyphicons</a> available, you may choose to style the left and right toggle buttons with <code>.glyphicon-chevron-left</code> and <code>.glyphicon-chevron-right</code>.</p> + <p>With <a href="/css/#glyphicons">Glyphicons</a> available, you may choose to style the left and right toggle buttons with <code>.glyphicon .glyphicon-chevron-left</code> and <code>.glyphicon .glyphicon-chevron-right</code>.</p> </div> <h3>Optional captions</h3> diff --git a/js/dropdown.js b/js/dropdown.js index 8aee574fa..5bf051e86 100644 --- a/js/dropdown.js +++ b/js/dropdown.js @@ -42,7 +42,7 @@ if (!isActive) { if ('ontouchstart' in document.documentElement) { // if mobile we we use a backdrop because click events don't delegate - $('<div class="dropdown-backdrop"/>').insertBefore($(this)).on('click', clearMenus) + $('<div class="dropdown-backdrop"/>').insertAfter($(this)).on('click', clearMenus) } $parent.trigger(e = $.Event('show.bs.dropdown')) |
