From 4a1e761adbf360cc30e8e6b127403ed4e174e80f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 28 Feb 2022 20:36:47 -0500 Subject: [PATCH] refactor: remove code that doesn't do anything --- public/src/client/account/edit.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/public/src/client/account/edit.js b/public/src/client/account/edit.js index f907e84e63..282f104c5c 100644 --- a/public/src/client/account/edit.js +++ b/public/src/client/account/edit.js @@ -16,15 +16,6 @@ define('forum/account/edit', [ $('#submitBtn').on('click', updateProfile); - app.loadJQueryUI(function () { - $('#inputBirthday').datepicker({ - changeMonth: true, - changeYear: true, - yearRange: '1900:-5y', - defaultDate: '-13y', - }); - }); - if (ajaxify.data.groupTitleArray.length === 1 && ajaxify.data.groupTitleArray[0] === '') { $('#groupTitle option[value=""]').attr('selected', true); }