mirror of
https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git
synced 2023-10-10 13:37:40 +02:00
Update button text after update
This commit is contained in:
parent
e20835ac34
commit
45796bf231
@ -278,6 +278,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
$('#tr-' + addon_id).addClass('positive');
|
$('#tr-' + addon_id).addClass('positive');
|
||||||
$('#button-update-' + addon_id).removeClass('green');
|
$('#button-update-' + addon_id).removeClass('green');
|
||||||
$('#button-update-' + addon_id).addClass('gray');
|
$('#button-update-' + addon_id).addClass('gray');
|
||||||
|
$('#button-update-' + addon_id).contents().last()[0].textContent = i18next.t('reinstall');
|
||||||
$('#label-version-' + addon_id).text($('#label-available-version-' + addon_id).text());
|
$('#label-version-' + addon_id).text($('#label-available-version-' + addon_id).text());
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user