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

Method afterRender

app/views/PrivacyView.js:21–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 }
20
21 afterRender () {
22 super.afterRender()
23 if (_.contains(location.href, '#')) {
24 return _.defer(() => {
25 // Remind the browser of the fragment in the URL, so it jumps to the right section.
26 return location.href = location.href
27 })
28 }
29 }
30 }
31 PrivacyView.initClass()
32 return PrivacyView

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected