manage: remove .updatable after updating a style

This commit is contained in:
tophf 2017-04-09 14:28:10 +03:00
parent 2bb7d31042
commit 311d036dee

View File

@ -334,6 +334,7 @@ function handleUpdate(style, {reason, quiet} = {}) {
}
if (reason == 'update') {
element.classList.add('update-done');
element.classList.remove('can-update', 'updatable');
$('.update-note', element).innerHTML = t('updateCompleted');
}
}