diff options
Diffstat (limited to 'js/src')
| -rw-r--r-- | js/src/tooltip.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/src/tooltip.js b/js/src/tooltip.js index 30c2f7165..173ee592e 100644 --- a/js/src/tooltip.js +++ b/js/src/tooltip.js @@ -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/)') + } + /** * ------------------------------------------------------------------------ |
