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

Method onSubmitButtonClick

app/views/core/JuniorModal.js:41–45  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

39 }
40
41 onSubmitButtonClick (e) {
42 storage.save('junior-clicked', true)
43 window.tracker?.trackEvent('Junior Icon Explored', { engageAction: 'submit_button_click' })
44 this.hide()
45 }
46
47 setCSSVariables () {
48 const viewportWidth = window.innerWidth || document.documentElement.clientWidth

Callers

nothing calls this directly

Calls 3

hideMethod · 0.95
saveMethod · 0.45
trackEventMethod · 0.45

Tested by

no test coverage detected