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