Fixed JS linting error.

This commit is contained in:
Chris Houseknecht 2014-07-23 11:34:52 -04:00
parent 99966760bb
commit a1c6af5a08

View File

@ -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';