Merge pull request #34018 from nextcloud/use-primary-button-updater

Use primary button in updater
This commit is contained in:
Vincent Petry 2022-09-12 15:15:51 +02:00 committed by GitHub
commit 52d962bd53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,7 +92,7 @@
if (hasWarnings) {
$el.find('.update-show-detailed').before(
$('<input type="button" class="update-continue" value="'+t('core', 'Continue to {productName}', OC.Update.options)+'">').on('click', function() {
$('<input type="button" class="primary" value="'+t('core', 'Continue to {productName}', OC.Update.options)+'">').on('click', function() {
window.location.reload();
})
);