mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
if bgColor and color are not sent in the category creation call, automatic colours are supplied
This commit is contained in:
@@ -75,8 +75,6 @@ define('admin/manage/categories', [
|
||||
name: $('#inputName').val(),
|
||||
description: $('#inputDescription').val(),
|
||||
icon: $('#new-category-modal i').attr('value'),
|
||||
bgColor: '#0059b2',
|
||||
color: '#fff',
|
||||
order: $('.admin-categories #entry-container').children().length + 1
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user