ywana-core8 0.0.240 → 0.0.241

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -878,7 +878,7 @@ var TextField = function TextField(props) {
878
878
  }
879
879
 
880
880
  function focus() {
881
- if (site) {
881
+ if (site && site.changeFocus) {
882
882
  site.changeFocus({
883
883
  lose: function lose() {// DO NOTHING
884
884
  }
@@ -948,11 +948,12 @@ var TextArea = function TextArea(props) {
948
948
  event.stopPropagation();
949
949
  event.preventDefault();
950
950
  var value = event.target.value;
951
+ console.log(value);
951
952
  if (onChange) onChange(id, value);
952
953
  }
953
954
 
954
955
  function focus() {
955
- if (site) {
956
+ if (site && site.changeFocus) {
956
957
  site.changeFocus({
957
958
  lose: function lose() {// DO NOTHING
958
959
  }