diff --git a/src/assets/js/backend_calendar.js b/src/assets/js/backend_calendar.js index d6d11db4..a042c97d 100644 --- a/src/assets/js/backend_calendar.js +++ b/src/assets/js/backend_calendar.js @@ -291,7 +291,7 @@ var BackendCalendar = { $('#enable-sync span:eq(1)').text(EALang['disable_sync']); $('#google-sync').prop('disabled', false); } else { - $('#enable-sync').removeClass('btn-success enabled'); + $('#enable-sync').removeClass('btn-danger enabled'); $('#enable-sync span:eq(1)').text(EALang['enable_sync']); $('#google-sync').prop('disabled', true); } @@ -776,7 +776,7 @@ var BackendCalendar = { BackendCalendar.disableProviderSync(provider['id']); - $('#enable-sync').removeClass('btn-success enabled'); + $('#enable-sync').removeClass('btn-danger enabled'); $('#enable-sync span:eq(1)').text(EALang['enable_sync']); $('#google-sync').prop('disabled', true); $('#select-filter-item option:selected').attr('google-sync', 'false');