Strict mode violation that only affected Chrome?
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Sun, 31 Aug 2014 21:22:17 +0000 (23:22 +0200)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Sun, 31 Aug 2014 21:22:17 +0000 (23:22 +0200)
acnl-outfit.js

index 45849d12f6b92e4d812222a347bba1b3c7ff868a..a09d6451c23affd8bf471fc6040c64d9ee2b2a88 100644 (file)
@@ -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";