mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-02 16:04:07 +03:00
add explicit error for lack of tether in tooltips - fixes #17273
This commit is contained in:
@@ -12,6 +12,14 @@ import Util from './util'
|
||||
|
||||
const Tooltip = (($) => {
|
||||
|
||||
/**
|
||||
* 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/)')
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* ------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user