(isInstalledNow)
| 81 | } |
| 82 | |
| 83 | function setInstalled(isInstalledNow) { |
| 84 | $installBtn.text('Installed').prop('disabled', true).addClass('disabled'); |
| 85 | let wording = isInstalledNow ? 'successfully' : 'already'; |
| 86 | $hint.text(`You have ${wording} installed GitHub Hovercard, enjoy!`); |
| 87 | } |
| 88 | |
| 89 | function setInstalling() { |
| 90 | $installBtn.text('Installing...').prop('disabled', true); |