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

Method onClickAnnouncementLink

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

Source from the content-addressed store, hash-verified

785 }
786
787 onClickAnnouncementLink (e) {
788 const classroomId = $(e.target).data('classroom-id')
789 const classroom = _.find(this.classrooms.models, { id: classroomId })
790 const modal = new ClassroomAnnouncementModal({ announcement: classroom.get('description') })
791 return this.openModalView(modal)
792 }
793
794 onClickMoreTournaments (e) {
795 e.preventDefault()

Callers

nothing calls this directly

Calls 2

dataMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected