[move frames button to js Mark Lentczner **20100813221748 Ignore-this: 43d64133300eefa3a55f1a1bce1ff094 ] { hunk ./html/haddock-util.js 167 +function addFramesButton() { + if (parent.location.href == window.location.href) { + var menu = document.getElementById("page-menu"); + if (menu) { + var btn = menu.lastChild.cloneNode(false); + btn.innerHTML = "Frames"; + menu.appendChild(btn); + } + } +} + hunk ./html/haddock-util.js 185 - if (parent.location.href == window.location.href) { - setCookie("haddock-reframe", document.URL); - window.location = "frames.html"; - } + setCookie("haddock-reframe", document.URL); + window.location = "frames.html"; hunk ./src/Haddock/Backends/Xhtml.hs 118 - "//