回答編集履歴

1

修正

2019/02/13 02:43

投稿

退会済みユーザー
test CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  eventRender: function(event, element) {
10
10
 
11
- if(event.source !== 'japanese__ja@holiday.calendar.google.com') {
11
+ if(event.source.googleCalendarId == 'japanese__ja@holiday.calendar.google.com') {
12
12
 
13
13
  $('.fc-day-top[data-date=' + event.start._i + ']').css('color', '#FF0066');
14
14
 
@@ -26,6 +26,6 @@
26
26
 
27
27
  1. 休日のeventのみ処理(4行目のif)
28
28
 
29
- 2. 休日のeventが設定されている日付の数字部分(.fc-day-top)の文字色を変える
29
+ 2. 休日のeventが設定されている日付の数字部分(.fc-day-top)の文字色を変える(5行目)
30
30
 
31
- 3. 休日のeventを非表示
31
+ 3. 休日のeventを非表示(6行目)