1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-23 18:40:03 +00:00

Merge branch 'patch-1' of https://github.com/tracker1/bootstrap into tracker1-patch-1

This commit is contained in:
Mark Otto 2016-12-21 20:34:29 -08:00
commit 1f9619a517
3 changed files with 3 additions and 3 deletions

2
js/dist/tooltip.js vendored
View File

@ -17,7 +17,7 @@ var Tooltip = function ($) {
* 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/)');
}

File diff suppressed because one or more lines are too long

View File

@ -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/)')
}