From: Michael J. Ryan Date: Mon, 14 Mar 2016 20:29:03 +0000 (-0700) Subject: Update tooltip.js X-Git-Tag: v4.0.0-alpha.6~304^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=681d390a0504c7a1c855a6eb052ea70409e41cde;p=thirdparty%2Fbootstrap.git Update tooltip.js match project's style check --- diff --git a/js/src/tooltip.js b/js/src/tooltip.js index 03d9e4cc8e..b98a561349 100644 --- a/js/src/tooltip.js +++ b/js/src/tooltip.js @@ -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/)') }