diff --git a/addon/www/index.html b/addon/www/index.html index db975a2..6449247 100644 --- a/addon/www/index.html +++ b/addon/www/index.html @@ -270,10 +270,9 @@ along with this program. If not, see . $('[data-update-addon-id="' + addon_id + '"]').removeClass('loading'); $('[data-update-addon-id="' + addon_id + '"]').removeClass('disabled'); $('[data-uninstall-addon-id="' + addon_id + '"]').removeClass('disabled'); + $('#install-addon-url-button').removeClass('disabled'); display_message('success', data, 6000000); if (addon_id) { - $('#install-addon-url-button').removeClass('disabled'); - $('#install-addon-url-input').val(''); $('#tr-' + addon_id).removeClass('warning'); $('#tr-' + addon_id).addClass('positive'); $('#button-update-' + addon_id).removeClass('green'); @@ -282,6 +281,7 @@ along with this program. If not, see . $('#label-version-' + addon_id).text($('#label-available-version-' + addon_id).text()); } else { + $('#install-addon-url-input').val(''); get_addon_info(); } },