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

Method stopSpying

app/views/admin/MainAdminView.js:134–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132 clearQueryParams () { return window.history.pushState({}, '', document.location.href.split('?')[0]) }
133
134 stopSpying () {
135 const button = this.$('#stop-spying-btn')
136 return me.stopSpying({
137 success () { return document.location.reload() },
138 error () {
139 forms.enableSubmit(button)
140 return errors.showNotyNetworkError(...arguments)
141 }
142 })
143 }
144
145 onClickStopSpyingButton () {
146 const button = this.$('#stop-spying-btn')

Callers 2

afterInsertMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected