From 12858eaea6d576012eea5dc998b65f6150cf3934 Mon Sep 17 00:00:00 2001 From: Zhangxinguo <1245579343@qq.com> Date: Thu, 8 Jun 2017 18:08:04 +0800 Subject: [PATCH] doLocale --- .../src/main/resources/console/js/index.js | 2 +- .../src/main/resources/console/js/util/common.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/elastic-job-lite/elastic-job-lite-console/src/main/resources/console/js/index.js b/elastic-job-lite/elastic-job-lite-console/src/main/resources/console/js/index.js index f92f920ea5..0a6a86ee65 100644 --- a/elastic-job-lite/elastic-job-lite-console/src/main/resources/console/js/index.js +++ b/elastic-job-lite/elastic-job-lite-console/src/main/resources/console/js/index.js @@ -23,5 +23,5 @@ $(function() { doLocale(); }); }); - changeLang(); + changeLanguage(); }); diff --git a/elastic-job-lite/elastic-job-lite-console/src/main/resources/console/js/util/common.js b/elastic-job-lite/elastic-job-lite-console/src/main/resources/console/js/util/common.js index aaf41d130e..df572ab7f8 100644 --- a/elastic-job-lite/elastic-job-lite-console/src/main/resources/console/js/util/common.js +++ b/elastic-job-lite/elastic-job-lite-console/src/main/resources/console/js/util/common.js @@ -129,7 +129,7 @@ function doLocale() { } } -function changeLang() { +function changeLanguage() { $("#lang-zh").click(function() { $("#content").removeClass("lang-en").addClass("lang-zh"); doLocale();