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 = {
init: function() {
var el;
el = $('span.filetitle') || $('blockquote');
return d.title = "/" + g.BOARD + "/ - " + el.textContent;
var tc;
tc = $('span.filetitle').textContent || $('blockquote').textContent;
return d.title = "/" + g.BOARD + "/ - " + tc;
}
};
imgPreloading = {

View File

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