mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-03-28 23:49:11 +08:00
修复写法。
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user