Convert anchor to text node.
Conflicts: src/General/Header.coffee src/General/css/style.css
This commit is contained in:
parent
555f3c9867
commit
c0a4467d0d
@ -214,12 +214,11 @@ Header =
|
|||||||
a.href = CatalogLinks[m[1]] boardID
|
a.href = CatalogLinks[m[1]] boardID
|
||||||
$.addClass a, 'catalog' if m[1] is 'catalog'
|
$.addClass a, 'catalog' if m[1] is 'catalog'
|
||||||
|
|
||||||
if /-archive/.test(t)
|
if /-archive/.test t
|
||||||
if href = Redirect.to 'board', {boardID}
|
if href = Redirect.to 'board', {boardID}
|
||||||
a.href = href
|
a.href = href
|
||||||
else
|
else
|
||||||
$.addClass a, 'inactive'
|
return $.tn a.textContent
|
||||||
a.removeAttribute 'href'
|
|
||||||
|
|
||||||
$.addClass a, 'navSmall' if boardID is '@'
|
$.addClass a, 'navSmall' if boardID is '@'
|
||||||
return a
|
return a
|
||||||
|
|||||||
@ -235,9 +235,6 @@ hr + div.center:not(.ad-cnt):not(.topad):not(.middlead):not(.bottomad) {
|
|||||||
.fixed.bottom-header #header-bar #scroll-marker {
|
.fixed.bottom-header #header-bar #scroll-marker {
|
||||||
bottom: 100%;
|
bottom: 100%;
|
||||||
}
|
}
|
||||||
#header-bar a.inactive {
|
|
||||||
color: inherit !important;
|
|
||||||
}
|
|
||||||
#header-bar a:not(.entry):not(.close) {
|
#header-bar a:not(.entry):not(.close) {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
padding: 1px;
|
padding: 1px;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user