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

Method cleanupModals

app/views/HomeView.js:176–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

174 }
175
176 cleanupModals () {
177 if (this.getStartedSignupContainer) {
178 this.getStartedSignupContainer.$destroy()
179 return this.getStartedSignupModal.remove()
180 }
181 if (this.juniorModal) {
182 this.juniorModal.$destroy()
183 }
184 }
185
186 onClickTrackEvent (e) {
187 return this.homePageEvent($(e.target).data('event-action'), {})

Callers 1

destroyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected