mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 05:55:48 +01:00
fixed #3341, introduced new navigation data property, "targetBlank", deprecated "target", which was never exposed anyway, and updated default values
This commit is contained in:
@@ -62,12 +62,6 @@ define('admin/general/navigation', ['translator'], function(translator) {
|
||||
|
||||
data.properties = {};
|
||||
|
||||
available.forEach(function(item) {
|
||||
if (item.route.match(data.route)) {
|
||||
data.properties = item.properties || {};
|
||||
}
|
||||
});
|
||||
|
||||
for (var prop in properties) {
|
||||
if (properties.hasOwnProperty(prop)) {
|
||||
data.properties[prop] = properties[prop];
|
||||
|
||||
Reference in New Issue
Block a user