Optimization in blockquote selector for comment filtering. Enlarge your options.
This commit is contained in:
parent
61b02c456e
commit
5db4f7e882
@ -632,7 +632,7 @@
|
||||
},
|
||||
comment: function(root) {
|
||||
return ($.el('a', {
|
||||
innerHTML: $('blockquote', root).innerHTML.replace(/<br>/g, '\n')
|
||||
innerHTML: root.lastChild.innerHTML.replace(/<br>/g, '\n')
|
||||
})).textContent;
|
||||
},
|
||||
filename: function(root) {
|
||||
@ -4023,7 +4023,7 @@ img[md5], img[md5] + img {\
|
||||
padding: 5px;\
|
||||
text-align: left;\
|
||||
vertical-align: middle;\
|
||||
width: 500px;\
|
||||
width: 600px;\
|
||||
}\
|
||||
#credits {\
|
||||
float: right;\
|
||||
|
||||
@ -543,7 +543,7 @@ filter =
|
||||
sub = if isOP then $ '.filetitle', root else $ '.replytitle', root
|
||||
sub.textContent
|
||||
comment: (root) ->
|
||||
($.el 'a', innerHTML: $('blockquote', root).innerHTML.replace /<br>/g, '\n').textContent
|
||||
($.el 'a', innerHTML: root.lastChild.innerHTML.replace /<br>/g, '\n').textContent
|
||||
filename: (root) ->
|
||||
if file = $ '.filesize > span', root
|
||||
return file.title
|
||||
@ -3353,7 +3353,7 @@ img[md5], img[md5] + img {
|
||||
padding: 5px;
|
||||
text-align: left;
|
||||
vertical-align: middle;
|
||||
width: 500px;
|
||||
width: 600px;
|
||||
}
|
||||
#credits {
|
||||
float: right;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user