Skip to content

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy