Skip to content

Commit

Permalink
fix aria warning
Browse files Browse the repository at this point in the history
  • Loading branch information
a-sync committed Aug 20, 2024
1 parent b8a4e24 commit 0f165c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,7 @@ function fileAdded (err, fileItem) {

const originPath = window.location.origin + String(window.location.path || '');
a.setAttribute('href', originPath + '?' + parsedFile.name + '=' + parsedFile.ids.join(','));
fileInfoMain.removeAttribute('aria-hidden');
fileInfoMain.replaceChildren(a);
};

Expand Down

0 comments on commit 0f165c3

Please sign in to comment.