(e)
| 467 | } |
| 468 | |
| 469 | onClickedLink (e) { |
| 470 | const link = $(e.target).closest('a').attr('href') |
| 471 | if (link && /#rules$/.test(link)) { |
| 472 | this.$el.find('a[href="#rules"]').tab('show') |
| 473 | } |
| 474 | if (link && /#prizes/.test(link)) { |
| 475 | this.$el.find('a[href="#prizes"]').tab('show') |
| 476 | } |
| 477 | if (link && /#winners/.test(link)) { |
| 478 | return this.$el.find('a[href="#winners"]').tab('show') |
| 479 | } |
| 480 | } |
| 481 | |
| 482 | onClickJoinClanButton (e) { |
| 483 | if (me.isAnonymous()) { return } // Just follow the link |
nothing calls this directly
no outgoing calls
no test coverage detected