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

Method updateScreenshot

app/views/core/ContactModal.js:78–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76 }
77
78 updateScreenshot () {
79 if (!this.screenshotURL) { return }
80 const screenshotEl = this.$el.find('#contact-screenshot').removeClass('secret')
81 screenshotEl.find('a').prop('href', this.screenshotURL.replace('http://codecombat.com/', '/'))
82 return screenshotEl.find('img').prop('src', this.screenshotURL.replace('http://codecombat.com/', '/'))
83 }
84 }
85 ContactModal.initClass()
86 return ContactModal

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected