Convert anchor to text node.
This commit is contained in:
parent
f7b4e0556d
commit
e20e682736
@ -177,9 +177,6 @@ a[href="javascript:;"] {
|
|||||||
#header.bottom #header-bar.autohide #toggle-header-bar {
|
#header.bottom #header-bar.autohide #toggle-header-bar {
|
||||||
cursor: n-resize;
|
cursor: n-resize;
|
||||||
}
|
}
|
||||||
#header-bar a.inactive {
|
|
||||||
color: inherit !important;
|
|
||||||
}
|
|
||||||
#header-bar a:not(.entry) {
|
#header-bar a:not(.entry) {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
padding: 1px;
|
padding: 1px;
|
||||||
|
|||||||
@ -140,12 +140,11 @@ Header =
|
|||||||
else
|
else
|
||||||
a.textContent
|
a.textContent
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user