We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b8759f commit cbf7db7Copy full SHA for cbf7db7
notebook/static/bidi/bidi.js
@@ -19,7 +19,7 @@ define(['bidi/numericshaping'], function(numericshaping) {
19
console.log('Loaded moment locale', moment.locale(_uiLang()));
20
});
21
22
- shaperType = _uiLang() == 'ar' ? 'national' : 'defaultNumeral';
+ shaperType = _uiLang().split('-')[0] == 'ar' ? 'national' : 'defaultNumeral';
23
};
24
25
var _isMirroringEnabled = function() {
0 commit comments