回答編集履歴

1

修正

2017/08/22 14:22

投稿

s8_chu
s8_chu

スコア14731

test CHANGED
@@ -16,11 +16,9 @@
16
16
 
17
17
  <style type="text/css">
18
18
 
19
- * {
19
+ .clicked {
20
20
 
21
- margin: 0;
21
+ background-color: #a9ff3a !important;
22
-
23
- padding: 0;
24
22
 
25
23
  }
26
24
 
@@ -30,7 +28,7 @@
30
28
 
31
29
  <body>
32
30
 
33
- <div id='calendar'></div>
31
+ <div id="calendar"></div>
34
32
 
35
33
  <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
36
34
 
@@ -40,9 +38,7 @@
40
38
 
41
39
  <script>
42
40
 
43
- $('#calendar').fullCalendar
41
+ $("#calendar").fullCalendar({
44
-
45
- ({
46
42
 
47
43
  dayClick: function (date) {
48
44
 
@@ -64,23 +60,23 @@
64
60
 
65
61
  var minDate = moment(),
66
62
 
67
- maxDate = moment().add(12, 'months');
63
+ maxDate = moment().add(12, "months");
68
64
 
69
65
  // Past
70
66
 
71
67
  if (minDate >= currentView.start && minDate <= currentView.end) {
72
68
 
73
- $(".fc-prev-button").prop('disabled', true);
69
+ $(".fc-prev-button").prop("disabled", true);
74
70
 
75
- $(".fc-prev-button").addClass('fc-state-disabled');
71
+ $(".fc-prev-button").addClass("fc-state-disabled");
76
72
 
77
73
  }
78
74
 
79
75
  else {
80
76
 
81
- $(".fc-prev-button").removeClass('fc-state-disabled');
77
+ $(".fc-prev-button").removeClass("fc-state-disabled");
82
78
 
83
- $(".fc-prev-button").prop('disabled', false);
79
+ $(".fc-prev-button").prop("disabled", false);
84
80
 
85
81
  }
86
82
 
@@ -88,15 +84,15 @@
88
84
 
89
85
  if (maxDate >= currentView.start && maxDate <= currentView.end) {
90
86
 
91
- $(".fc-next-button").prop('disabled', true);
87
+ $(".fc-next-button").prop("disabled", true);
92
88
 
93
- $(".fc-next-button").addClass('fc-state-disabled');
89
+ $(".fc-next-button").addClass("fc-state-disabled");
94
90
 
95
91
  } else {
96
92
 
97
- $(".fc-next-button").removeClass('fc-state-disabled');
93
+ $(".fc-next-button").removeClass("fc-state-disabled");
98
94
 
99
- $(".fc-next-button").prop('disabled', false);
95
+ $(".fc-next-button").prop("disabled", false);
100
96
 
101
97
  }
102
98