From a1c6af5a08157f1632382a8806efc424536faa8a Mon Sep 17 00:00:00 2001 From: Chris Houseknecht Date: Wed, 23 Jul 2014 11:34:52 -0400 Subject: [PATCH] Fixed JS linting error. --- awx/ui/static/js/app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/awx/ui/static/js/app.js b/awx/ui/static/js/app.js index f3da8c12e0..16bbb8f9ca 100644 --- a/awx/ui/static/js/app.js +++ b/awx/ui/static/js/app.js @@ -442,8 +442,7 @@ angular.module('Tower', [ function activateTab() { // Make the correct tab active - var base = $location.path().replace(/^\//, '').split('/')[0], - urlDepth = $location.path().replace(/^\//, '').split('/').length; + var base = $location.path().replace(/^\//, '').split('/')[0]; if (base === '') { base = 'home';