diff options
-rw-r--r-- | index.html | 4 | ||||
-rw-r--r-- | interpolate.js | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/index.html b/index.html index 21dc104..d1a957b 100644 --- a/index.html +++ b/index.html @@ -9,12 +9,12 @@ <nav> <span><a>Index</a></span> <!-- <span><a href="search.html">Search</a></span> --> - <span>Jump to <a href="intro.html">first</a>, <a href="chapter14.html">latest</a> (10/15/2020)</span> + <span>Jump to <a href="intro.html">first</a>, <a href="chapter14.html">latest</a> (10/30/2020)</span> </nav> <article> <h1>Homestuck^2: Preceding Canon</h1> <p><a href="https://florrie.ed1.club/precanon/"><i>Preceding Canon</i></a> is a crappily named (re)presentation of <a href="https://www.homestuck2.com/"><i>Homestuck^2: Beyond Canon</i></a> inspired by the design of the webcomic <a href="https://www.prequeladventure.com/"><i>Prequel</i></a>. Each chapter is one manually stylized page; there's also <s>a <a href="search.html">Search</a> page (for JS-enabled browsers)</s> (it's kinda shelved for now but you can mess around with it anyway).</p> - <p>While you can freely clone an archive of the site from the <a href="https://git.ed1.club/precanon.git">Git repository</a>, images are referenced cross-site from <code>https://www.homestuck2.com</code>, so you'll have to have a working connection for the accompanying panels to load.</p> + <p>While you can freely clone an archive of the site from the <a href="https://git.ed1.club/florrie/precanon.git">Git repository</a>, images are referenced cross-site from <code>https://www.homestuck2.com</code>, so you'll have to have a working connection for the accompanying panels to load.</p> <ul id="chapters"> <li><a href="intro.html">Somewhere, in the distant reaches of space...</a></li> <li><a href="chapter1.html">CHAPTER 1. Ghostflusters</a></li> diff --git a/interpolate.js b/interpolate.js index e6166fa..cce5146 100644 --- a/interpolate.js +++ b/interpolate.js @@ -4,7 +4,9 @@ function interpolateStyle(el, prop, cb, reset = true) { } const intact = getComputedStyle(el); const start = intact.getPropertyValue(prop); - el.style.setProperty(prop, cb(start)); + try { + el.style.setProperty(prop, cb(start)); + } catch (error) {} } function itpColor(prog, target) { |