()
| 74 | } |
| 75 | |
| 76 | afterInsert () { |
| 77 | super.afterInsert() |
| 78 | // This makes sure if you press enter right after opening the players guide, |
| 79 | // it doesn't just reopen the modal. |
| 80 | $(document.activeElement).blur() |
| 81 | |
| 82 | if (typeof localStorage !== 'undefined' && localStorage !== null ? localStorage.showViewNames : undefined) { |
| 83 | const title = this.constructor != null ? this.constructor.name : undefined |
| 84 | return setTimeout(function () { |
| 85 | if (!this.destroyed) { return $('title').text(title) } |
| 86 | } |
| 87 | , 500) |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | trapFocus () { |
| 92 | if (!this.trapsFocus) { return } |
nothing calls this directly
no outgoing calls
no test coverage detected