From: Joe Wreschnig Date: Sun, 31 Aug 2014 21:22:17 +0000 (+0200) Subject: Strict mode violation that only affected Chrome? X-Git-Url: https://git.yukkurigames.com/?p=labelle.git;a=commitdiff_plain;h=124bdd2522092da2e0097493a43224bb80ad2821 Strict mode violation that only affected Chrome? --- diff --git a/acnl-outfit.js b/acnl-outfit.js index 45849d1..a09d645 100644 --- a/acnl-outfit.js +++ b/acnl-outfit.js @@ -146,7 +146,7 @@ function update () { "Labelle suggested ", "I'll wear "]) + litanize(o, false) + ".")); - buttons = document.getElementById("buttons"); + var buttons = document.getElementById("buttons"); buttons.className = ""; setTimeout(function () { buttons.className = "open";