()
| 56 | } |
| 57 | |
| 58 | function updateRateLink(): void { |
| 59 | if (isChrome()) { |
| 60 | return; |
| 61 | } |
| 62 | |
| 63 | $('a#rate-link').href = isFirefox() |
| 64 | ? 'https://addons.mozilla.org/firefox/addon/refined-github-' |
| 65 | : 'https://apps.apple.com/app/id1519867270?action=write-review'; |
| 66 | } |
| 67 | |
| 68 | function isEnterprise(): boolean { |
| 69 | return syncedForm!.getSelectedDomain() !== 'default'; |