mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01: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:
parent
eea6690d0e
commit
9a5222ca31
@ -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"
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user