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