[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)) {
|
if (helper.checkIfValidString(stagedLink.link.image)) {
|
||||||
linkPanelFront.appendChild(linkImage);
|
linkPanelFront.appendChild(linkImage);
|
||||||
};
|
};
|
||||||
|
if ((linkDisplayLetter != null || linkDisplayIcon != null || linkDisplayImage != null) || (helper.checkIfValidString(stagedLink.link.name))) {
|
||||||
linkPanelFront.appendChild(linkDisplay);
|
linkPanelFront.appendChild(linkDisplay);
|
||||||
|
};
|
||||||
linkLeft.appendChild(linkLeftIcon);
|
linkLeft.appendChild(linkLeftIcon);
|
||||||
linkControl.appendChild(linkLeft);
|
linkControl.appendChild(linkLeft);
|
||||||
linkHandle.appendChild(linkHandleIcon);
|
linkHandle.appendChild(linkHandleIcon);
|
||||||
|
|
Loading…
Reference in New Issue