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

Method onClickMap

app/views/play/CampaignView.js:1880–1886  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

1878 }
1879
1880 onClickMap (e) {
1881 this.$levelInfo?.hide()
1882 if (this.sessions?.models.length < 3) {
1883 // Restore the next level higlight for very new players who might otherwise get lost.
1884 this.highlightNextLevel()
1885 }
1886 }
1887
1888 onClickLevel (e) {
1889 e.preventDefault()

Callers

nothing calls this directly

Calls 2

highlightNextLevelMethod · 0.95
hideMethod · 0.45

Tested by

no test coverage detected