mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
@@ -3,10 +3,10 @@
|
||||
|
||||
define('admin/settings/homepage', ['admin/settings'], function () {
|
||||
function toggleCustomRoute() {
|
||||
if ($('[data-field="homePageRoute"]').val()) {
|
||||
$('#homePageCustom').hide();
|
||||
} else {
|
||||
if ($('[data-field="homePageRoute"]').val() === 'custom') {
|
||||
$('#homePageCustom').show();
|
||||
} else {
|
||||
$('#homePageCustom').hide();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user