diff options
author | Georg Ehrke <developer@georgehrke.com> | 2017-11-12 10:38:33 +0100 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2018-06-27 13:19:49 +0200 |
commit | fd41192bb45947f56304d465c2266f168eb6036b (patch) | |
tree | 212f6dacfe744b2a056b26416dde09bec10dce43 | |
parent | 9af82296c7fa01cd6f6d940f8ffcd32362b90d55 (diff) | |
download | nextcloud-server-fd41192bb45947f56304d465c2266f168eb6036b.tar.gz nextcloud-server-fd41192bb45947f56304d465c2266f168eb6036b.zip |
fix OC.getLocale()
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
-rw-r--r-- | core/js/js.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js index 3cd8f306044..c1713539f4f 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -791,7 +791,7 @@ var OCP = {}, * @return {String} locale string */ getLocale: function() { - return $('html').prop('data-locale'); + return $('html').data('locale'); }, /** |