Remove page number from title in JSON index.

This commit is contained in:
ccd0 2015-01-10 12:59:46 -08:00
parent e61118a5bc
commit 23595c9b64

View File

@ -82,6 +82,10 @@ Index =
$.on @selectSize, 'change', @cb.size
@update()
$.asap (-> $('title + *', doc) or d.readyState isnt 'loading'), ->
d.title = d.title.replace /\ -\ Page\ \d+/, ''
$.asap (-> $('.board > .thread > .postContainer', doc) or d.readyState isnt 'loading'), ->
return unless Main.isThisPageLegit()
Index.hat = $ '.board > .thread > img:first-child'