mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03:00
add explicit error for lack of tether in tooltips - fixes #17273
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user