Fix recurrence rule monthly picker

This commit is contained in:
yflory 2022-09-14 17:40:44 +02:00
parent 0ee48d40f2
commit 2e983bf52a
1 changed files with 2 additions and 2 deletions

View File

@ -1703,9 +1703,9 @@ APP.recurrenceRule = {
$(pickr).find('button').click(function () {
var $b = $(this);
if ($b.is('.btn-secondary')) {
return $b.removeClass('btn-secondary').addClass('btn-cancel');
return $b.removeClass('btn-secondary').addClass('btn-default');
}
$b.removeClass('btn-cancel').addClass('btn-secondary');
$b.removeClass('btn-default').addClass('btn-secondary');
});
var radioPickContent = [
h('span', Messages.calendar_rec_monthly_pick),