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