aboutsummaryrefslogtreecommitdiff
path: root/js/src
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-12-21 20:34:29 -0800
committerMark Otto <[email protected]>2016-12-21 20:34:29 -0800
commit1f9619a5174501017c582382e158a2a04274fe65 (patch)
treedc82257721a1916c026c07774fdfb5be31650866 /js/src
parente111e2e58ec35dccb734764606637c4ce42e66e9 (diff)
parent681d390a0504c7a1c855a6eb052ea70409e41cde (diff)
downloadbootstrap-1f9619a5174501017c582382e158a2a04274fe65.tar.xz
bootstrap-1f9619a5174501017c582382e158a2a04274fe65.zip
Merge branch 'patch-1' of https://github.com/tracker1/bootstrap into tracker1-patch-1
Diffstat (limited to 'js/src')
-rw-r--r--js/src/tooltip.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/tooltip.js b/js/src/tooltip.js
index 3fa5ecab4..024035fe4 100644
--- a/js/src/tooltip.js
+++ b/js/src/tooltip.js
@@ -16,7 +16,7 @@ const Tooltip = (($) => {
* Check for Tether dependency
* Tether - http://tether.io/
*/
- if (window.Tether === undefined) {
+ if (typeof Tether === 'undefined') {
throw new Error('Bootstrap tooltips require Tether (http://tether.io/)')
}