mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
refactor: remove code that doesn't do anything
This commit is contained in:
@@ -16,15 +16,6 @@ define('forum/account/edit', [
|
|||||||
|
|
||||||
$('#submitBtn').on('click', updateProfile);
|
$('#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] === '') {
|
if (ajaxify.data.groupTitleArray.length === 1 && ajaxify.data.groupTitleArray[0] === '') {
|
||||||
$('#groupTitle option[value=""]').attr('selected', true);
|
$('#groupTitle option[value=""]').attr('selected', true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user