From 12a04aa8b91a296c98a11de795df4a14bd15c0f9 Mon Sep 17 00:00:00 2001 From: magepeopleteam Date: Thu, 17 Dec 2020 05:27:30 +0000 Subject: [PATCH] js file update --- js/mkb-admin.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/js/mkb-admin.js b/js/mkb-admin.js index 8c8addc..290e73e 100644 --- a/js/mkb-admin.js +++ b/js/mkb-admin.js @@ -1,5 +1,6 @@ (function ($) { "use strict"; + jQuery(document).ready(function ($) { // Tabs $(window).load(function () { $('.mp_tab_menu').each(function () { @@ -21,10 +22,7 @@ } 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 () { if ($(this).is(":checked")) { $(this).parents('label.mp_event_virtual_type_des_switch').siblings('label.mp_event_virtual_type_des').slideDown(200); @@ -85,5 +83,6 @@ return false; } }); + }); }(jQuery)); \ No newline at end of file