mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
no need to store taskbar
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
define(['taskbar'], function(taskbar) {
|
define(['taskbar'], function(taskbar) {
|
||||||
var composer = {
|
var composer = {
|
||||||
active: undefined,
|
active: undefined,
|
||||||
taskbar: taskbar,
|
|
||||||
posts: {}
|
posts: {}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -30,7 +29,7 @@ define(['taskbar'], function(taskbar) {
|
|||||||
|
|
||||||
var uuid = utils.generateUUID();
|
var uuid = utils.generateUUID();
|
||||||
|
|
||||||
composer.taskbar.push('composer', uuid, {
|
taskbar.push('composer', uuid, {
|
||||||
title: (!threadData.cid ? (threadData.title || '') : 'New Topic'),
|
title: (!threadData.cid ? (threadData.title || '') : 'New Topic'),
|
||||||
icon: threadData.picture
|
icon: threadData.picture
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user