From 8132e1ff3c6ea408e1dbd040971f0d13f2064123 Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 9 Mar 2017 10:34:39 +0800 Subject: Updates --- examples/common.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples/common.js') 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 @@ }); }, isAM: function isAM() { - var value = this.props.value; - + var value = this.props.value || this.props.defaultOpenValue; return value.hour() >= 0 && value.hour() < 12; }, render: function render() { -- cgit v1.2.3