MCPcopy Create free account
hub / github.com/codecombat/codecombat / onClickViewVideosLink

Method onClickViewVideosLink

app/views/courses/CoursesView.js:777–785  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

775 }
776
777 onClickViewVideosLink (e) {
778 const classroomID = $(e.target).data('classroom-id')
779 const courseID = $(e.target).data('course-id')
780 const courseName = $(e.target).data('course-name')
781 if (window.tracker != null) {
782 window.tracker.trackEvent('Students View To Videos View', { category: 'Students', courseID, classroomID })
783 }
784 return application.router.navigate(`/students/videos/${courseID}/${courseName}`, { trigger: true })
785 }
786
787 onClickAnnouncementLink (e) {
788 const classroomId = $(e.target).data('classroom-id')

Callers

nothing calls this directly

Calls 3

dataMethod · 0.80
navigateMethod · 0.80
trackEventMethod · 0.45

Tested by

no test coverage detected