Merge branch 'backlink-css'

This commit is contained in:
ccd0 2015-10-30 22:12:46 -07:00
commit 5eb577ac56
2 changed files with 7 additions and 8 deletions

View File

@ -956,6 +956,9 @@ span.hide-announcement {
:root.hide-backlinks .backlink.filtered + .hashlink.filtered {
display: none;
}
.postNum + .container::before {
content: " ";
}
.inline {
border: 1px solid;
display: table;
@ -1633,17 +1636,12 @@ a:only-of-type > .remove {
margin: 2px;
vertical-align: middle;
}
.reply .menu-button,
.op .menu-button,
.post .menu-button,
#thread-watcher .menu-button {
margin-left: -1px !important;
width: 20px;
width: 18px;
height: 15px;
text-align: center;
}
.menu-button + .container :first-child {
margin-left: -5px;
}
#menu {
position: fixed;
outline: none;

View File

@ -35,7 +35,8 @@ QuoteBacklink =
for clone in post.clones
containers.push clone.nodes.backlinkContainer
for container in containers
nodes = [$.tn(' '), link = a.cloneNode true]
link = a.cloneNode true
nodes = if container.firstChild then [$.tn(' '), link] else [link]
if Conf['Quote Previewing']
$.on link, 'mouseover', QuotePreview.mouseover
if Conf['Quote Inlining']