mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 06:42:32 -05:00
developer console fixes
This commit is contained in:
1 parent
644b142798
commit
e75e7b18b4
8 files changed
+19
-12
No files matched your search
@@ -1,7 +1,7 @@
|
||||
export default class extends HTMLElement {
|
||||
connectedCallback () {
|
||||
this.querySelectorAll('a').forEach((link) => {
|
||||
if (document.location.pathname.startsWith(link.pathname)) {
|
||||
if (document.location.pathname.startsWith(link.pathname) && !link.getAttribute('href').startsWith('http')) {
|
||||
link.classList.add('bg-base-300')
|
||||
}
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user