summaryrefslogtreecommitdiffstats
path: root/core/js/js.js
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2017-11-12 10:38:33 +0100
committerGeorg Ehrke <developer@georgehrke.com>2018-06-27 13:19:49 +0200
commitfd41192bb45947f56304d465c2266f168eb6036b (patch)
tree212f6dacfe744b2a056b26416dde09bec10dce43 /core/js/js.js
parent9af82296c7fa01cd6f6d940f8ffcd32362b90d55 (diff)
downloadnextcloud-server-fd41192bb45947f56304d465c2266f168eb6036b.tar.gz
nextcloud-server-fd41192bb45947f56304d465c2266f168eb6036b.zip
fix OC.getLocale()
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'core/js/js.js')
-rw-r--r--core/js/js.js2
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');
},
/**