(e)
| 214 | } |
| 215 | |
| 216 | onClickPrivateCheckbox (e) { |
| 217 | if (me.isAnonymous()) { return this.openModalView(new CreateAccountModal()) } |
| 218 | if ($('.private-clan-checkbox').prop('checked') && !me.isPremium()) { |
| 219 | $('.private-clan-checkbox').attr('checked', false) |
| 220 | this.openModalView(new SubscribeModal()) |
| 221 | return (window.tracker != null ? window.tracker.trackEvent('Show subscription modal', { category: 'Subscription', label: 'check private clan' }) : undefined) |
| 222 | } |
| 223 | } |
| 224 | } |
| 225 | ClansView.initClass() |
| 226 | return ClansView |
nothing calls this directly
no test coverage detected