mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-25 22:41:20 +02:00
Docs: Separate Tether out from docs.min.js
We can't include it in docs.min.js because docs.min.js includes application.js, application.js depends on bootstrap.js, and the tooltip portion of bootstrap.js depends on Tether. So instead, we need to load Tether separately before bootstrap.js [skip sauce]
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
<script src="{{ site.cdn.jquery }}"></script>
|
||||
<script>window.jQuery || document.write('<script src="{{ site.baseurl }}/assets/js/vendor/jquery.min.js"><\/script>')</script>
|
||||
|
||||
<script src="{{ site.baseurl }}/assets/js/vendor/tether.min.js"></script>
|
||||
|
||||
{% if site.github %}
|
||||
<script src="{{ site.baseurl }}/dist/js/bootstrap.min.js"></script>
|
||||
{% else %}
|
||||
|
@@ -4,7 +4,6 @@
|
||||
"../assets/js/vendor/anchor.min.js",
|
||||
"../assets/js/vendor/clipboard.min.js",
|
||||
"../assets/js/vendor/holder.min.js",
|
||||
"../assets/js/vendor/tether.min.js",
|
||||
"../assets/js/src/application.js"
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user