(event)
| 45 | } |
| 46 | |
| 47 | function handlePickerClick(event) { |
| 48 | // Handle different types of clicks for picker button |
| 49 | if (event.button === 1 || event.ctrlKey || event.metaKey) { |
| 50 | // Middle click, Ctrl+click, or Cmd+click - open in new tab |
| 51 | event.preventDefault(); |
| 52 | openGamePickerInNewTab(); |
| 53 | } else if (event.button === 0) { |
| 54 | // Left click - open in same tab |
| 55 | openGamePicker(); |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | // Enhanced foldout behavior |
| 60 | function initializeFoldouts() { |
nothing calls this directly
no test coverage detected