mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-05 21:45:47 +01:00
Click on "Delete" btn in ACP > General > Navigation causes redirect.
This commit is contained in:
@@ -18,7 +18,7 @@ define('admin/general/navigation', function() {
|
||||
stop: drop
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
$('#enabled')
|
||||
.on('click', '.delete', remove)
|
||||
.on('click', '.toggle', toggle)
|
||||
@@ -75,6 +75,7 @@ define('admin/general/navigation', function() {
|
||||
|
||||
function remove() {
|
||||
$(this).parents('li').remove();
|
||||
return false;
|
||||
}
|
||||
|
||||
function toggle() {
|
||||
|
||||
Reference in New Issue
Block a user