fix titlePost

This commit is contained in:
James Campos 2011-04-16 21:09:28 -07:00
parent a849b3b1a4
commit 416b0df4b6
2 changed files with 5 additions and 5 deletions

View File

@ -1649,9 +1649,9 @@
}; };
titlePost = { titlePost = {
init: function() { init: function() {
var el; var tc;
el = $('span.filetitle') || $('blockquote'); tc = $('span.filetitle').textContent || $('blockquote').textContent;
return d.title = "/" + g.BOARD + "/ - " + el.textContent; return d.title = "/" + g.BOARD + "/ - " + tc;
} }
}; };
imgPreloading = { imgPreloading = {

View File

@ -1292,8 +1292,8 @@ localize =
titlePost = titlePost =
init: -> init: ->
el = $('span.filetitle') or $('blockquote') tc = $('span.filetitle').textContent or $('blockquote').textContent
d.title = "/#{g.BOARD}/ - #{el.textContent}" d.title = "/#{g.BOARD}/ - #{tc}"
imgPreloading = imgPreloading =
init: -> init: ->