From e408b14c619d2ff53e51f25ed01a96c630fb0dff Mon Sep 17 00:00:00 2001 From: Yudong Date: Tue, 30 Sep 2014 14:07:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=86=99=E6=B3=95=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/static/script/layout.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/static/script/layout.coffee b/core/static/script/layout.coffee index 3f31943..2cbc7b0 100644 --- a/core/static/script/layout.coffee +++ b/core/static/script/layout.coffee @@ -52,7 +52,7 @@ $ -> current_version = "#{($ 'body').data 'locale'}" if client_version == current_version - window.i18n_data = JSON.parse(localStorage.getItem 'locale_content') + window.i18n_data = JSON.parse localStorage.getItem 'locale_content' else $.getJSON "/locale/#{$.cookie('language')}", (data) -> window.i18n_data = data