mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 22:18:01 -03:30
Fixed JS linting error.
This commit is contained in:
parent
99966760bb
commit
a1c6af5a08
@ -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';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user