芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/chikindzonotyucatan.gob.mx/media/com_users/js/two-factor-switcher-es5.js
(function () { 'use strict'; /** * @copyright (C) 2018 Open Source Matters, Inc.
* @license GNU General Public License version 2 or later; see LICENSE.txt */ Joomla = window.Joomla || {}; (function (Joomla) { document.addEventListener('DOMContentLoaded', function () { Joomla.twoFactorMethodChange = function () { var method = document.getElementById('jform_twofactor_method'); if (method) { var selectedPane = "com_users_twofactor_" + method.value; var twoFactorForms = [].slice.call(document.querySelectorAll('#com_users_twofactor_forms_container > div')); twoFactorForms.forEach(function (value) { var id = value.id; if (id !== selectedPane) { document.getElementById(id).classList.add('hidden'); } else { document.getElementById(id).classList.remove('hidden'); } }); } }; }); })(Joomla); }());