Convert anchor to text node.

This commit is contained in:
milky 2014-02-09 07:17:56 +11:00
parent f7b4e0556d
commit e20e682736
2 changed files with 2 additions and 6 deletions

View File

@ -177,9 +177,6 @@ a[href="javascript:;"] {
#header.bottom #header-bar.autohide #toggle-header-bar {
cursor: n-resize;
}
#header-bar a.inactive {
color: inherit !important;
}
#header-bar a:not(.entry) {
text-decoration: none;
padding: 1px;

View File

@ -140,12 +140,11 @@ Header =
else
a.textContent
if /-archive/.test(t)
if /-archive/.test t
if href = Redirect.to 'board', {boardID}
a.href = href
else
$.addClass a, 'inactive'
a.removeAttribute 'href'
return $.tn a.textContent
$.addClass a, 'navSmall' if boardID is '@'
return a