From d600831a153c9930c3fe4e618b187951abc7b43b Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Sat, 14 Nov 2015 20:35:10 -0800 Subject: add explicit error for lack of tether in tooltips - fixes #17273 --- dist/js/bootstrap.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'dist/js/bootstrap.js') 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 @@ -2764,6 +2764,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 -- cgit v1.2.3