Don't try to insert header etc. on .rss URLs.
This commit is contained in:
parent
7edc767dde
commit
50000b2fa5
@ -584,7 +584,7 @@ Main =
|
|||||||
Main.thisPageIsLegit = if g.SITE.isThisPageLegit
|
Main.thisPageIsLegit = if g.SITE.isThisPageLegit
|
||||||
g.SITE.isThisPageLegit()
|
g.SITE.isThisPageLegit()
|
||||||
else
|
else
|
||||||
!/^[45]\d\d\b/.test(document.title) and !/\.json$/.test(location.pathname)
|
!/^[45]\d\d\b/.test(document.title) and !/\.(?:json|rss)$/.test(location.pathname)
|
||||||
Main.thisPageIsLegit
|
Main.thisPageIsLegit
|
||||||
|
|
||||||
ready: (cb) ->
|
ready: (cb) ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user