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

Method afterRender

app/views/account/PrepaidView.js:68–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 }
67
68 afterRender () {
69 super.afterRender()
70 this.$el.find('span[title]').tooltip()
71 if (me.isAnonymous() && this.ppc) {
72 _.defer(() => { if (!this.destroyed) { return this.openModalView(new CreateAccountModal({ startOnPath: 'individual' })) } })
73 return window.nextURL = location.href
74 }
75 }
76
77 statusMessage (message, type) {
78 if (type == null) { type = 'alert' }

Callers

nothing calls this directly

Calls 1

isAnonymousMethod · 0.80

Tested by

no test coverage detected