Fix Post in Title if there is no title or comment.
This commit is contained in:
parent
9e56a5ca45
commit
68cc8ad517
@ -1590,8 +1590,9 @@
|
||||
titlePost = {
|
||||
init: function() {
|
||||
var tc;
|
||||
tc = $('span.filetitle').textContent || $('blockquote').textContent;
|
||||
return d.title = "/" + g.BOARD + "/ - " + tc;
|
||||
if (tc = $('span.filetitle').textContent || $('blockquote').textContent) {
|
||||
return d.title = "/" + g.BOARD + "/ - " + tc;
|
||||
}
|
||||
}
|
||||
};
|
||||
quickReport = {
|
||||
|
||||
@ -1245,8 +1245,8 @@ localize =
|
||||
|
||||
titlePost =
|
||||
init: ->
|
||||
tc = $('span.filetitle').textContent or $('blockquote').textContent
|
||||
d.title = "/#{g.BOARD}/ - #{tc}"
|
||||
if tc = $('span.filetitle').textContent or $('blockquote').textContent
|
||||
d.title = "/#{g.BOARD}/ - #{tc}"
|
||||
|
||||
quickReport =
|
||||
init: ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user