app/assets/javascripts/application_survey.js
// don't show the survey message again.
don't show the survey message again.
don ' t show the survey message again .
function displaySurvey() {
  var surveyStatus = Cookies.get('survey');
  if (( surveyStatus == 'ignore') || (surveyStatus == 'clicked')) {
    $("div.survey").hide();
  } else {
    $("div.survey").show();
  }
}
function displaySurvey ( ) { var surveyStatus = Cookies . get ( 'survey' ) ; if ( ( surveyStatus == 'ignore' ) || ( surveyStatus == 'clicked' ) ) { $ ( "div.survey" ) . hide ( ) ; } else { $ ( "div.survey" ) . show ( ) ; } }
don't show the survey message again.
don ' t show the survey message again .