File tree 1 file changed +3
-3
lines changed
app/directives/history-graph
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -276,12 +276,12 @@ import Tooltip from 'appirio-tech-react-components/components/Tooltip/Tooltip.js
276
276
$scope . historyDate = moment ( d . ratingDate ) . format ( 'YYYY-MM-DD' )
277
277
$scope . historyChallenge = d . challengeName
278
278
$ ( '#chart-tooltip .tooltip-container' ) . on ( 'click' , function ( ) {
279
- if ( $state . params && $state . params . track === 'DEVELOP' , '_self' )
279
+ if ( $state . params && $state . params . track === 'DEVELOP' )
280
280
location . href = ( CONSTANTS . CHALLENGE_DETAIL_URL + d . challengeId + '/?type=develop' )
281
281
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 )
283
283
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 )
285
285
} )
286
286
d3 . select ( '#chart-tooltip' )
287
287
. style ( 'left' , ( d3 . event . pageX - 5 ) + 'px' )
You can’t perform that action at this time.
0 commit comments