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'); }, /**