mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 23:17:32 -02:30
Fixed JS linting error.
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user