Skip to content

Commit

Permalink
fix: selector bug
Browse files Browse the repository at this point in the history
  • Loading branch information
usoonees committed Jan 17, 2023
1 parent 4b55f56 commit fe9366d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "logseq-plugin-link-unlinked",
"version": "1.3.1",
"version": "1.3.2",
"main": "dist/index.html",
"logseq": {
"title": "Link Unlinked References",
Expand Down
2 changes: 1 addition & 1 deletion public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ async function main() {
unlinkObserver = new MutationObserver(unlinkCallback)

function addObserverIfDesiredNodeAvailable() {
unlinkedRefsContainer = doc.querySelector(".page-unlinked .references")
unlinkedRefsContainer = doc.querySelector(".page-unlinked.references")
if (!unlinkedRefsContainer) {
setTimeout(addObserverIfDesiredNodeAvailable, 200)
return
Expand Down

0 comments on commit fe9366d

Please sign in to comment.