]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update tooltip.js 19541/head
authorMichael J. Ryan <tracker1@gmail.com>
Mon, 14 Mar 2016 20:29:03 +0000 (13:29 -0700)
committerMichael J. Ryan <tracker1@gmail.com>
Mon, 14 Mar 2016 20:29:03 +0000 (13:29 -0700)
match project's style check

js/src/tooltip.js

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