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