fix OC.getLocale()
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
parent
9af82296c7
commit
fd41192bb4
|
@ -791,7 +791,7 @@ var OCP = {},
|
|||
* @return {String} locale string
|
||||
*/
|
||||
getLocale: function() {
|
||||
return $('html').prop('data-locale');
|
||||
return $('html').data('locale');
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue