Fixed duplicate pencil on assignee (#31)

This commit is contained in:
Hugo 2019-04-13 13:52:38 +02:00
parent 8aa104b7ae
commit 9b7a698dbc

View File

@ -33,14 +33,6 @@ function initEditFields()
htmlCopy); htmlCopy);
} }
if($('#usersListDropdown').length > 0) {
var htmlCopy = $('#usersListDropdown').get(0).outerHTML;
$('#usersListDropdown').remove();
$('.details .attributes .assigned-to.attribute .value').html( '<span class="showValue">' +
$('.details .attributes .assigned-to.attribute .value').html() + '</span> <i class="fa fa-pencil fa-fw" aria-hidden="true"></i>' +
htmlCopy);
}
if($('#prioritiesListDropdown').length > 0) { if($('#prioritiesListDropdown').length > 0) {
var htmlCopy = $('#prioritiesListDropdown').get(0).outerHTML; var htmlCopy = $('#prioritiesListDropdown').get(0).outerHTML;
$('#prioritiesListDropdown').remove(); $('#prioritiesListDropdown').remove();