mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix OC.getLocale()
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
parent
9af82296c7
commit
fd41192bb4
1 changed files with 1 additions and 1 deletions
|
|
@ -791,7 +791,7 @@ var OCP = {},
|
|||
* @return {String} locale string
|
||||
*/
|
||||
getLocale: function() {
|
||||
return $('html').prop('data-locale');
|
||||
return $('html').data('locale');
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue