Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 2810281

Browse files
authored
Merge pull request #875 from appirio-tech/tom-card-links
Tom card links
2 parents c1447e2 + 8ed3459 commit 2810281

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/directives/challenge-links/challenge-links.directive.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ import angular from 'angular'
1212
scope: {
1313
challenge: '=',
1414
view: '='
15+
},
16+
link: function(scope, element, attrs) {
17+
element.on('click', function() {
18+
window.location.href = $(this).attr('href')
19+
})
1520
}
1621
}
1722
})

0 commit comments

Comments
 (0)