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

Commit 8ae0207

Browse files
committed
Fix for link that won't load
1 parent c1447e2 commit 8ae0207

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@ import angular from 'angular'
1111
template: require('./challenge-links')(),
1212
scope: {
1313
challenge: '=',
14-
view: '='
14+
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)