1
0
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:
Jan Schneider 2018-01-28 01:31:34 +01:00
parent e20835ac34
commit 45796bf231

View File

@ -278,6 +278,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
$('#tr-' + addon_id).addClass('positive');
$('#button-update-' + addon_id).removeClass('green');
$('#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());
}
else {