This repository was archived by the owner on Mar 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/directives/history-graph Expand file tree Collapse file tree 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
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' )
You can’t perform that action at this time.
0 commit comments