We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58aca08 commit 5c3513fCopy full SHA for 5c3513f
1 file changed
npmjs.com/index.js
@@ -81,7 +81,7 @@ if (sidebar) {
81
"https://socket.dev/npm/package",
82
"https://snyk.io/advisor/npm-package",
83
]) {
84
- const link = document.querySelector(`[href^="${base}"]`);
+ const link = sidebar.querySelector(`[href^="${base}"]`);
85
if (link) {
86
link.remove();
87
}
0 commit comments