Skip to content

Commit d82a31a

Browse files
committed
Fixed typos
1 parent d5dc2d9 commit d82a31a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/directives/history-graph/history-graph.directive.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,12 +276,12 @@ import Tooltip from 'appirio-tech-react-components/components/Tooltip/Tooltip.js
276276
$scope.historyDate = moment(d.ratingDate).format('YYYY-MM-DD')
277277
$scope.historyChallenge = d.challengeName
278278
$('#chart-tooltip .tooltip-container').on('click', function(){
279-
if($state.params && $state.params.track === 'DEVELOP', '_self')
279+
if($state.params && $state.params.track === 'DEVELOP')
280280
location.href = (CONSTANTS.CHALLENGE_DETAIL_URL + d.challengeId + '/?type=develop')
281281
else if($state.params && $state.params.subTrack === 'SRM')
282-
location.href = (CONSTANTS.SRM_DETAIL_URL + d.challengeId, '_self')
282+
location.href = (CONSTANTS.SRM_DETAIL_URL + d.challengeId)
283283
else if($state.params && $state.params.subTrack === 'MARATHON_MATCH')
284-
location.href = (CONSTANTS.MARATHON_DETAIL_URL + d.challengeId, '_self')
284+
location.href = (CONSTANTS.MARATHON_DETAIL_URL + d.challengeId)
285285
})
286286
d3.select('#chart-tooltip')
287287
.style('left', (d3.event.pageX-5) + 'px')

0 commit comments

Comments
 (0)