diff --git a/js/src/tooltip.js b/js/src/tooltip.js
index 03d9e4cc8e89bc35361cc23322f5064fc37ef97a..b98a5613494576d08a975769f6b75155021382f6 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/)')
   }