mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 20:45:58 +01:00
can edit and add an image to a post, still cant remove previously added images #issue #233
This commit is contained in:
@@ -8,7 +8,8 @@ define(['taskbar'], function(taskbar) {
|
||||
};
|
||||
|
||||
function createImageLabel(img, postImages) {
|
||||
var imageLabel = $('<div class="label label-primary"><span>'+ img.name +'</span></div>');
|
||||
// var imageLabel = $('<div class="label label-primary"><span>'+ img.name +'</span></div>');
|
||||
var imageLabel = $('<span class="label label-primary">' + img.name +'</span>');
|
||||
var closeButton = $('<button class="close">×</button>');
|
||||
|
||||
closeButton.on('click', function(e) {
|
||||
|
||||
Reference in New Issue
Block a user