From 4109d03ede7a185bfd8b4b2a6a4eaa4303fbd5b7 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 5 Jan 2015 13:53:32 -0800 Subject: [PATCH] INFRA-132 - js/angular-crm-ui.js - Cleanup empty checks to satisfy jshint --- js/angular-crm-ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/angular-crm-ui.js b/js/angular-crm-ui.js index 858c537cab..14e703a04a 100644 --- a/js/angular-crm-ui.js +++ b/js/angular-crm-ui.js @@ -168,7 +168,7 @@ // immediately for initialization. Use retries/retryDelay to initialize such elements. var init = function (retries, retryDelay) { var input = $('#' + id); - if (input.length == 0) { + if (input.length === 0) { if (retries) { $timeout(function(){ init(retries-1, retryDelay); @@ -554,7 +554,7 @@ angular.forEach(steps, function(otherStep, otherKey) { if (otherStep === step) key = otherKey; }); - if (key != null) { + if (key !== null) { steps.splice(key, 1); } }; -- 2.25.1