aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/common.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/common.js')
-rw-r--r--examples/common.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/common.js b/examples/common.js
index e67abd0..5208dde 100644
--- a/examples/common.js
+++ b/examples/common.js
@@ -30914,8 +30914,7 @@
30914 }); 30914 });
30915 }, 30915 },
30916 isAM: function isAM() { 30916 isAM: function isAM() {
30917 var value = this.props.value; 30917 var value = this.props.value || this.props.defaultOpenValue;
30918
30919 return value.hour() >= 0 && value.hour() < 12; 30918 return value.hour() >= 0 && value.hour() < 12;
30920 }, 30919 },
30921 render: function render() { 30920 render: function render() {