aboutsummaryrefslogtreecommitdiff
path: root/dist/js/bootstrap.js
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2015-11-14 20:35:10 -0800
committerJacob Thornton <[email protected]>2015-11-14 20:35:10 -0800
commitd600831a153c9930c3fe4e618b187951abc7b43b (patch)
tree1c43e8cedb6a40e28b68b3b7f3789db02dda05d7 /dist/js/bootstrap.js
parenta3d7f79ae9f09e5772fe3ee30ba9c7cad4f8baaa (diff)
downloadbootstrap-d600831a153c9930c3fe4e618b187951abc7b43b.tar.xz
bootstrap-d600831a153c9930c3fe4e618b187951abc7b43b.zip
add explicit error for lack of tether in tooltips - fixes #17273
Diffstat (limited to 'dist/js/bootstrap.js')
-rw-r--r--dist/js/bootstrap.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js
index dc55e9989..0123631c9 100644
--- a/dist/js/bootstrap.js
+++ b/dist/js/bootstrap.js
@@ -2765,6 +2765,14 @@ var Tab = (function ($) {
var Tooltip = (function ($) {
/**
+ * Check for Tether dependency
+ * Tether - http://github.hubspot.com/tether/
+ */
+ if (!window.Tether) {
+ throw new Error("Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)");
+ }
+
+ /**
* ------------------------------------------------------------------------
* Constants
* ------------------------------------------------------------------------