js file update

This commit is contained in:
magepeopleteam 2020-12-17 05:27:30 +00:00
parent 68c5fa9bb0
commit 12a04aa8b9
1 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,6 @@
(function ($) { (function ($) {
"use strict"; "use strict";
jQuery(document).ready(function ($) {
// Tabs // Tabs
$(window).load(function () { $(window).load(function () {
$('.mp_tab_menu').each(function () { $('.mp_tab_menu').each(function () {
@ -21,10 +22,7 @@
} }
return false; return false;
}); });
$('[name="mep_event_expire"]').datepicker({
dateFormat: "yy-mm-dd",
minDate: 0
});
$(document).on('click', 'label.mp_event_virtual_type_des_switch input', function () { $(document).on('click', 'label.mp_event_virtual_type_des_switch input', function () {
if ($(this).is(":checked")) { if ($(this).is(":checked")) {
$(this).parents('label.mp_event_virtual_type_des_switch').siblings('label.mp_event_virtual_type_des').slideDown(200); $(this).parents('label.mp_event_virtual_type_des_switch').siblings('label.mp_event_virtual_type_des').slideDown(200);
@ -85,5 +83,6 @@
return false; return false;
} }
}); });
});
}(jQuery)); }(jQuery));