message: fixed reactquestion title and description
diff: @@ -71,13 +71,13 @@ export class SurveyQuestion extends React.Component<any, any> {
  var questionRender = this.renderQuestion();
  var title = this.questionBase.hasTitle ? this.renderTitle(cssClasses) : null;
  var description = this.renderDescription(cssClasses);
  - var titleTop = this.question.titleLocation == "top" ? title : null;
  - var titleBottom = this.question.titleLocation == "bottom" ? title : null;
  - var titleLeft = this.question.titleLocation == "left" ? title : null;
  - var titleLeftClass = this.question.titleLocation === 'left' ? "title-left" : null;
  - var contentLeftClass = this.question.titleLocation === 'left' ? "content-left" : null;
  - var descriptionTop = this.question.titleLocation == "top" ? description : null;
  - var descriptionBottom = this.question.titleLocation == "bottom" ? description : null;
  + var titleTop = (this.question && this.question.titleLocation == "top") ? title : null;
  + var titleBottom = (this.question && this.question.titleLocation == "bottom") ? title : null;
  + var titleLeft = (this.question && this.question.titleLocation == "left") ? title : null;
  + var titleLeftClass = (this.question && this.question.titleLocation === 'left') ? "title-left" : null;
  + var contentLeftClass = (this.question && this.question.titleLocation === 'left') ? "content-left" : null;
  + var descriptionTop = (this.question && this.question.titleLocation == "top") ? description : null;
  + var descriptionBottom = (this.question && this.question.titleLocation == "bottom") ? description : null;
  var comment = (this.question && this.question.hasComment) ? this.renderComment(cssClasses) : null;
  var errors = this.renderErrors(cssClasses);
  var errorsTop = this.creator.questionErrorLocation() == "top" ? errors : null;
  