[refactor] improve link panel front when no display item is needed
This commit is contained in:
parent
02c47571fd
commit
a3dc286fb4
|
@ -1064,7 +1064,9 @@ var link = (function() {
|
|||
if (helper.checkIfValidString(stagedLink.link.image)) {
|
||||
linkPanelFront.appendChild(linkImage);
|
||||
};
|
||||
linkPanelFront.appendChild(linkDisplay);
|
||||
if ((linkDisplayLetter != null || linkDisplayIcon != null || linkDisplayImage != null) || (helper.checkIfValidString(stagedLink.link.name))) {
|
||||
linkPanelFront.appendChild(linkDisplay);
|
||||
};
|
||||
linkLeft.appendChild(linkLeftIcon);
|
||||
linkControl.appendChild(linkLeft);
|
||||
linkHandle.appendChild(linkHandleIcon);
|
||||
|
|
Loading…
Reference in New Issue