()
| 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') |
no outgoing calls
no test coverage detected