From ece6cf9fbfdba9dac8d7bf98516a840c955a4853 Mon Sep 17 00:00:00 2001
From: Alex Xu <alex_y_xu@yahoo.ca>
Date: Thu, 22 Aug 2013 17:34:40 -0400
Subject: fix unindexed char name

---
 www/js/api.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'www/js')

diff --git a/www/js/api.js b/www/js/api.js
index 25e2f4f..a7b06d8 100644
--- a/www/js/api.js
+++ b/www/js/api.js
@@ -317,7 +317,7 @@ window.html5ks.api = {
 
     if (!char) {
       char = {
-        name: name
+        name: charName
       };
     }
     if (typeof char.what_prefix === "undefined") {
-- 
cgit v1.2.3-70-g09d2