File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ var PivotLocale = function (locale) {
11
11
this . DEFAULT_LOCALE = "en" ;
12
12
13
13
this . setLocale ( locale
14
- || navigator . language
14
+ || ( navigator . language || "" ) . substr ( 0 , 2 )
15
15
|| ( navigator [ "browserLanguage" ]
16
16
|| this . DEFAULT_LOCALE ) . substring ( 0 , 2 ) ) ;
17
17
Original file line number Diff line number Diff line change @@ -853,7 +853,7 @@ PivotView.prototype.renderRawData = function (data) {
853
853
//div2 = document.createElement("div");
854
854
if ( rawData [ y ] [ x ] . value ) {
855
855
div . textContent = rawData [ y ] [ x ] . value ;
856
- } else div . innerHTML = "&zwnj ;" ;
856
+ } else div . innerHTML = "  ;" ;
857
857
//div2.appendChild(div);
858
858
th . appendChild ( div ) ;
859
859
if ( rawData [ y ] [ x ] . style ) th . setAttribute ( "style" , rawData [ y ] [ x ] . style ) ;
You can’t perform that action at this time.
0 commit comments