iflrandevu/assets/js/layouts/account_layout.js

31 lines
903 B
JavaScript

/* ----------------------------------------------------------------------------
* Easy!Appointments - Online Appointment Scheduler
*
* @package EasyAppointments
* @author A.Tselegidis <alextselegidis@gmail.com>
* @copyright Copyright (c) Alex Tselegidis
* @license https://opensource.org/licenses/GPL-3.0 - GPLv3
* @link https://easyappointments.org
* @since v1.5.0
* ---------------------------------------------------------------------------- */
/**
* Account layout.
*
* This module implements the account layout functionality.
*/
window.App.Layouts.Account = (function () {
const $selectLanguage = $('#select-language');
/**
* Initialize the module.
*/
function initialize() {
App.Utils.Lang.enableLanguageSelection($selectLanguage);
}
document.addEventListener('DOMContentLoaded', initialize);
return {};
})();