]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add undefined for now
authorJacob Thornton <jacobthornton@gmail.com>
Sun, 15 Nov 2015 04:43:45 +0000 (20:43 -0800)
committerJacob Thornton <jacobthornton@gmail.com>
Sun, 15 Nov 2015 04:43:45 +0000 (20:43 -0800)
js/src/tooltip.js

index 173ee592ecfed835c0aed07962c26fc000045997..6bd17353dd42a956e349fd4a453bc9688775e40f 100644 (file)
@@ -16,7 +16,7 @@ const Tooltip = (($) => {
    * Check for Tether dependency
    * Tether - http://github.hubspot.com/tether/
    */
-  if (!window.Tether) {
+  if (window.Tether === undefined) {
     throw new Error('Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)')
   }