()
| 524 | } |
| 525 | |
| 526 | adjustShortcutsForPlatform () { |
| 527 | if ((navigator.userAgentData?.platform)?.toLowerCase()?.includes('mac')) { |
| 528 | this.querySelectorAll('.tooltip[data-tip]').forEach(tooltip => { |
| 529 | const tip = tooltip.getAttribute('data-tip') |
| 530 | |
| 531 | if (tip && tip.includes('Ctrl')) { |
| 532 | tooltip.setAttribute('data-tip', tip.replace(/Ctrl/g, '⌘')) |
| 533 | } |
| 534 | }) |
| 535 | } |
| 536 | } |
| 537 | |
| 538 | bold (e) { |
| 539 | e.preventDefault() |
no test coverage detected