aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Backends/HaddockDB.hs
diff options
context:
space:
mode:
authorPhil Ruffwind <rf@rufflewind.com>2015-06-14 23:12:09 -0400
committerMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2015-08-02 23:15:26 +0100
commit7656bf86a661c5c755dc9874f709df2fc4833257 (patch)
treeaa4fa76419986186657d0cb52371775ba0854fee /haddock-api/src/Haddock/Backends/HaddockDB.hs
parent089d20c23c5e3a00856ee9480a3953060b03ed7b (diff)
Avoid JavaScript error during page load in non-frame mode
In non-frame mode, parent.window.synopsis refers to the synopsis div rather than the nonexistent frame. Unfortunately, the script wrongly assumes that if it exists it must be a frame, leading to an error where it tries to access the nonexistent attribute 'replace' of an undefined value (synopsis.location). Closes #406
Diffstat (limited to 'haddock-api/src/Haddock/Backends/HaddockDB.hs')
0 files changed, 0 insertions, 0 deletions