Skip to content

Commit 2286cd1

Browse files
committed
hide double logo
1 parent 63ad0a8 commit 2286cd1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

_layouts/shopping.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@
9595
document.arrive(".sprd-header__image", function () {
9696
document.unbindArrive(".sprd-header__image"); // don't infinite loop
9797
const new_element = this.cloneNode(true);
98-
new_element.href = 'https://librenms.org'
98+
new_element.href = 'https://librenms.org';
99+
new_element.style.visibility = 'hidden'; // hide it when on the website
99100
this.parentNode.replaceChild(new_element, this);
100101
});
101102
</script>

0 commit comments

Comments
 (0)