diff options
author | Sebastian Méric de Bellefon <arnaudpourseb@gmail.com> | 2016-05-25 15:17:40 -0400 |
---|---|---|
committer | Sebastian Méric de Bellefon <arnaudpourseb@gmail.com> | 2016-05-25 15:17:40 -0400 |
commit | eb5beb400966243275233549e91f7b8f3d5d3c70 (patch) | |
tree | a9f7450330d4abfe27a1d8b0af15cc6083d061f9 /html-test/ref/haddock-util.js | |
parent | 7290bf9d00ee40d0e4ab2fb0bf045a5bea86d823 (diff) | |
parent | 02adc0affe8f389dbfc1cfb8cf73ae56ac8a4069 (diff) |
Merge pull request #514 from Helkafen/frames
remove framed view of the HTML documentation (see #114 and #274)
Diffstat (limited to 'html-test/ref/haddock-util.js')
-rw-r--r-- | html-test/ref/haddock-util.js | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/html-test/ref/haddock-util.js b/html-test/ref/haddock-util.js index fc7743fe..92d07d2a 100644 --- a/html-test/ref/haddock-util.js +++ b/html-test/ref/haddock-util.js @@ -248,33 +248,6 @@ function addMenuItem(html) { } } -function adjustForFrames() { - var bodyCls; - - if (parent.location.href == window.location.href) { - // not in frames, so add Frames button - addMenuItem("<a href='#' onclick='reframe();return true;'>Frames</a>"); - bodyCls = "no-frame"; - } - else { - bodyCls = "in-frame"; - } - addClass(document.body, bodyCls); -} - -function reframe() { - setCookie("haddock-reframe", document.URL); - window.location = "frames.html"; -} - -function postReframe() { - var s = getCookie("haddock-reframe"); - if (s) { - parent.window.main.location = s; - clearCookie("haddock-reframe"); - } -} - function styles() { var i, a, es = document.getElementsByTagName("link"), rs = []; for (i = 0; a = es[i]; i++) { @@ -337,7 +310,6 @@ function styleMenu(show) { function pageLoad() { addStyleMenu(); - adjustForFrames(); resetStyle(); restoreCollapsed(); } |