fix OC.getLocale()

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
Georg Ehrke 2017-11-12 10:38:33 +01:00
parent 9af82296c7
commit fd41192bb4
No known key found for this signature in database
GPG Key ID: 9D98FD9380A1CB43
1 changed files with 1 additions and 1 deletions

View File

@ -791,7 +791,7 @@ var OCP = {},
* @return {String} locale string
*/
getLocale: function() {
return $('html').prop('data-locale');
return $('html').data('locale');
},
/**