mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-21 12:44:43 +00: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
2 changed files with 2 additions and 1 deletions
|
|
@ -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…
Reference in a new issue