manage: remove .updatable after updating a style
This commit is contained in:
parent
2bb7d31042
commit
311d036dee
|
@ -334,6 +334,7 @@ function handleUpdate(style, {reason, quiet} = {}) {
|
||||||
}
|
}
|
||||||
if (reason == 'update') {
|
if (reason == 'update') {
|
||||||
element.classList.add('update-done');
|
element.classList.add('update-done');
|
||||||
|
element.classList.remove('can-update', 'updatable');
|
||||||
$('.update-note', element).innerHTML = t('updateCompleted');
|
$('.update-note', element).innerHTML = t('updateCompleted');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user