aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--examples/disabled.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/disabled.js b/examples/disabled.js
index 4b7c5eb..b650448 100644
--- a/examples/disabled.js
+++ b/examples/disabled.js
@@ -39,12 +39,12 @@ function disabledHours() {
39 39
40function disabledMinutes(h) { 40function disabledMinutes(h) {
41 switch (h) { 41 switch (h) {
42 case 9: 42 case 9:
43 return generateOptions(60, [30]); 43 return generateOptions(60, [30]);
44 case 21: 44 case 21:
45 return generateOptions(60, [0]); 45 return generateOptions(60, [0]);
46 default: 46 default:
47 return generateOptions(60, [0, 30]); 47 return generateOptions(60, [0, 30]);
48 } 48 }
49} 49}
50 50
@@ -60,6 +60,6 @@ ReactDom.render(
60 onChange={onChange} 60 onChange={onChange}
61 disabledHours={disabledHours} 61 disabledHours={disabledHours}
62 disabledMinutes={disabledMinutes} 62 disabledMinutes={disabledMinutes}
63 disabledSeconds={disabledSeconds} />, 63 disabledSeconds={disabledSeconds}/>,
64 document.getElementById('__react-content') 64 document.getElementById('__react-content')
65); 65);