mirror of
https://github.com/ansible/awx.git
synced 2026-05-13 04:17:36 -02:30
Fixed JS linting error.
This commit is contained in:
@@ -442,8 +442,7 @@ angular.module('Tower', [
|
|||||||
|
|
||||||
function activateTab() {
|
function activateTab() {
|
||||||
// Make the correct tab active
|
// Make the correct tab active
|
||||||
var base = $location.path().replace(/^\//, '').split('/')[0],
|
var base = $location.path().replace(/^\//, '').split('/')[0];
|
||||||
urlDepth = $location.path().replace(/^\//, '').split('/').length;
|
|
||||||
|
|
||||||
if (base === '') {
|
if (base === '') {
|
||||||
base = 'home';
|
base = 'home';
|
||||||
|
|||||||
Reference in New Issue
Block a user