1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-23 23:20:57 +01:00

remove redundant second catalog button

This commit is contained in:
Lorenzo Yario 2024-05-17 00:51:24 -07:00 committed by GitHub
parent 3d797c95ca
commit 00be5e6ced
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,17 +30,7 @@ function catalog() {
var link = document.createElement('a');
link.href = catalog_url;
if (pages) {
link.textContent = _('Catalog');
link.style.color = '#F10000';
link.style.padding = '4px';
link.style.paddingLeft = '9px';
link.style.borderLeft = '1px solid';
link.style.borderLeftColor = '#A8A8A8';
link.style.textDecoration = "underline";
pages.appendChild(link);
} else {
if (!pages) {
link.textContent = '['+_('Catalog')+']';
link.style.paddingLeft = '10px';
link.style.textDecoration = "underline";