webpackJsonp([10],{
/***/ 11:
/***/ (function(module, exports, __webpack_require__) {
__webpack_require__(27);
var modules = __webpack_require__(0);
var platform = __webpack_require__(2).run_on;
var feedback = 'Because of Google’s model, your search results almost certainly included information related to'
+ ' possible diagnoses such as the flu. You reported that [] of your search results were related to the flu.'
+ ' In a recent Introductory Psychology class, the typical student had about four out of ten search results related'
+ ' to the flu, but some had as many as nine out of ten.';
var Activity_chapter_14 = modules.activity.extend( {
update_question_action_div: function ( question_index ) {
'use strict';
if ( question_index === 5 ) {
var input = $( '#query_answer_11' );
var value = input.val();
feedback = feedback.replace( '[]', value );
var question = player.activity.questions[question_index];
question.md.feedback = feedback;
question.jq.find( '.question_feedback_part' ).html( feedback );
}
this._super( question_index );
}
} );
var Player_chapter_14 = modules.player.extend( {
initialize: function () {
this._super(true);
this.activity = new Activity_chapter_14();
},
initialize_sections: function () {
this._super();
var input = $( '#query_answer_11' );
input.attr( 'maxlength', 2 );
input.bind( 'input', function () {
var value = $( this ).val();
// Cut numbers and other forbidden symbols
if ( value.match( /[^0-9]/g ) ) {
value = value.replace( /[^0-9]/g, '' );
$( this ).val( value );
}
} );
var $lastCBTableChoiceLabel = $('#digfir_section_11 .checkbox-wrap:last-child label');
$lastCBTableChoiceLabel.html('' + $lastCBTableChoiceLabel.html() + '');
$lastCBTableChoiceLabel.append($('.other-choice-input'));
$lastCBTableChoiceLabel.removeAttr('aria-hidden').removeAttr('role');
if (!platform.ios && !platform.android) {
var $cbLegend = $('#digfir_section_11 [data-type="question"] legend');
$cbLegend.html('Select each of type of Web site you found.');
$cbLegend.addClass('visually-hidden');
}
this.chooseAriaTable();
},
chooseAriaTable: function () {
if (platform.ios || platform.android) {
// $customTable.find('legend').remove();
$('[data-block_type="desktop-table"]').remove();
if (platform.ios) {
$('#digfir_section_4 th').replaceWith(function () {
return this.outerHTML.replace('th', 'td');
});
}
}
else {
$('[data-block_type="tablets-table"]').remove();
}
}
} );
window.player = new Player_chapter_14();
/***/ }),
/***/ 27:
/***/ (function(module, exports) {
// removed by extract-text-webpack-plugin
/***/ }),
/***/ 57:
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(11);
/***/ })
},[57]);
//# sourceMappingURL=hockenbury8e_ch14_tracking_mental_illness_online.js.map