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