fix titlePost
This commit is contained in:
parent
a849b3b1a4
commit
416b0df4b6
@ -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 = {
|
||||
|
||||
@ -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: ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user