diff --git a/docs/_includes/js/overview.html b/docs/_includes/js/overview.html index b95bb6c5ff..4a35e87947 100644 --- a/docs/_includes/js/overview.html +++ b/docs/_includes/js/overview.html @@ -68,6 +68,12 @@ $.fn.bootstrapBtn = bootstrapButton // give $().bootstrapBtn the Boot $('#myModal').on('show.bs.modal', function (e) { if (!data) return e.preventDefault() // stops modal from being shown }) +{% endhighlight %} + +

Version numbers

+ The version of each of Bootstrap's jQuery plugins can be accessed via the VERSION property of the plugin's constructor. For example, for the tooltip plugin: +{% highlight js %} +$.fn.tooltip.Constructor.VERSION // => "{{ site.current_version }}" {% endhighlight %}

No special fallbacks when JavaScript is disabled

diff --git a/docs/_includes/nav/javascript.html b/docs/_includes/nav/javascript.html index 76e6732f8d..eba53771b0 100644 --- a/docs/_includes/nav/javascript.html +++ b/docs/_includes/nav/javascript.html @@ -6,6 +6,7 @@
  • Programmatic API
  • No conflict
  • Events
  • +
  • Version numbers
  • When JavaScript is disabled
  • Third-party libraries