File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1405,7 +1405,7 @@ ${unicode2Emoji(getNotebookIcon(item.box) || Constants.SIYUAN_IMAGE_NOTE, "b3-li
1405
1405
</div><div>` ;
1406
1406
item . children . forEach ( ( childItem , childIndex ) => {
1407
1407
resultHTML += `<div style="padding-left: 36px" data-type="search-item" class="b3-list-item${ childIndex === 0 && index === 0 ? " b3-list-item--focus" : "" } " data-node-id="${ childItem . id } " data-root-id="${ childItem . rootID } ">
1408
- <svg class="b3-list-item__graphic"><use xlink:href="#${ getIconByType ( childItem . type ) } "></use></svg>
1408
+ <svg class="b3-list-item__graphic popover__block" data-id=" ${ childItem . id } "><use xlink:href="#${ getIconByType ( childItem . type ) } "></use></svg>
1409
1409
${ unicode2Emoji ( childItem . ial . icon , "b3-list-item__graphic" , true ) }
1410
1410
<span class="b3-list-item__text">${ childItem . content } </span>
1411
1411
${ getAttr ( childItem ) }
@@ -1415,7 +1415,7 @@ ${childItem.tag ? `<span class="b3-list-item__meta b3-list-item__meta--ellipsis"
1415
1415
resultHTML += "</div>" ;
1416
1416
} else {
1417
1417
resultHTML += `<div data-type="search-item" class="b3-list-item${ index === 0 ? " b3-list-item--focus" : "" } " data-node-id="${ item . id } " data-root-id="${ item . rootID } ">
1418
- <svg class="b3-list-item__graphic"><use xlink:href="#${ getIconByType ( item . type ) } "></use></svg>
1418
+ <svg class="b3-list-item__graphic popover__block" data-id=" ${ item . id } "><use xlink:href="#${ getIconByType ( item . type ) } "></use></svg>
1419
1419
${ unicode2Emoji ( item . ial . icon , "b3-list-item__graphic" , true ) }
1420
1420
<span class="b3-list-item__text">${ item . content } </span>
1421
1421
${ getAttr ( item ) }
You can’t perform that action at this time.
0 commit comments