Sindbad~EG File Manager

Current Path : /var/www/html/laacademiapy.sumar.com.py/question/type/multichoice/amd/build/
Upload File :
Current File : /var/www/html/laacademiapy.sumar.com.py/question/type/multichoice/amd/build/answers.min.js

define("qtype_multichoice/answers",["exports"],(function(_exports){Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0;
/**
   * Handles events related to the multiple-choice question type answers.
   *
   * @module     qtype_multichoice/answers
   * @copyright  2020 Jun Pataleta <jun@moodle.com>
   * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
   */
const SELECTORS_ANSWER_LABEL="[data-region=answer-label]";var _default={init:rootId=>{const root=document.getElementById(rootId);root.querySelectorAll(SELECTORS_ANSWER_LABEL).forEach((answerLabel=>{answerLabel.addEventListener("click",(e=>{const labelId=e.currentTarget.id;root.querySelector('[aria-labelledby="'.concat(labelId,'"]')).click()}))}))}};return _exports.default=_default,_exports.default}));

//# sourceMappingURL=answers.min.js.map

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists