diff --git a/app/views/spec.js b/app/views/spec.js index f351039..2e01bb0 100644 --- a/app/views/spec.js +++ b/app/views/spec.js @@ -12,6 +12,10 @@ import html from "choo/html"; export default state => { state.hideFooter = true; + state.lbry = { + title: "LBRY Specification", + description: "A detailed specification of the LBRY protocol. Learn exactly what LBRY is and how it works!" + }; return html`
@@ -23,6 +27,8 @@ export default state => { const spec = document.getElementById("spec"); spec.src = specDomain + window.location.hash; + document.querySelector("body").style["overflow-y"] = "hidden"; + window.addEventListener("message", event => { if (event.origin !== specDomain || event.source !== spec.contentWindow) // security return;