From 681d390a0504c7a1c855a6eb052ea70409e41cde Mon Sep 17 00:00:00 2001 From: "Michael J. Ryan" <tracker1@gmail.com> Date: Mon, 14 Mar 2016 13:29:03 -0700 Subject: [PATCH] Update tooltip.js match project's style check --- js/src/tooltip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/)') } -- GitLab