Skip to content

Commit 606e5ec

Browse files
locale FF fix, empty cell another symbol
1 parent 051f930 commit 606e5ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/js/PivotLocale.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var PivotLocale = function (locale) {
1111
this.DEFAULT_LOCALE = "en";
1212

1313
this.setLocale(locale
14-
|| navigator.language
14+
|| (navigator.language || "").substr(0, 2)
1515
|| (navigator["browserLanguage"]
1616
|| this.DEFAULT_LOCALE).substring(0, 2));
1717

source/js/PivotView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ PivotView.prototype.renderRawData = function (data) {
853853
//div2 = document.createElement("div");
854854
if (rawData[y][x].value) {
855855
div.textContent = rawData[y][x].value;
856-
} else div.innerHTML = "‌";
856+
} else div.innerHTML = " ";
857857
//div2.appendChild(div);
858858
th.appendChild(div);
859859
if (rawData[y][x].style) th.setAttribute("style", rawData[y][x].style);

0 commit comments

Comments
 (0)