From 2b2e3108e892b925abeb101609d3e49ec69ef4dc Mon Sep 17 00:00:00 2001 From: Mateusz Kowalczyk Date: Sun, 2 Aug 2015 23:58:25 +0100 Subject: Update tests to follow HTML changes --- html-test/ref/haddock-util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'html-test/ref/haddock-util.js') diff --git a/html-test/ref/haddock-util.js b/html-test/ref/haddock-util.js index ba574356..fc7743fe 100644 --- a/html-test/ref/haddock-util.js +++ b/html-test/ref/haddock-util.js @@ -229,7 +229,7 @@ function perform_search(full) } function setSynopsis(filename) { - if (parent.window.synopsis) { + if (parent.window.synopsis && parent.window.synopsis.location) { if (parent.window.synopsis.location.replace) { // In Firefox this avoids adding the change to the history. parent.window.synopsis.location.replace(filename); -- cgit v1.2.3