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

Method onClickJoinClassButton

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

Source from the content-addressed store, hash-verified

621 }
622
623 onClickJoinClassButton (e) {
624 const classCode = this.$('#class-code-input').val() || this.classCodeQueryVar
625 if (window.tracker != null) {
626 window.tracker.trackEvent('Students Join Class With Code', { category: 'Students', classCode })
627 }
628 return this.joinClass()
629 }
630
631 joinClass () {
632 if (this.state) { return }

Callers

nothing calls this directly

Calls 2

joinClassMethod · 0.95
trackEventMethod · 0.45

Tested by

no test coverage detected