We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 051f930 commit 606e5ecCopy full SHA for 606e5ec
2 files changed
source/js/PivotLocale.js
@@ -11,7 +11,7 @@ var PivotLocale = function (locale) {
11
this.DEFAULT_LOCALE = "en";
12
13
this.setLocale(locale
14
- || navigator.language
+ || (navigator.language || "").substr(0, 2)
15
|| (navigator["browserLanguage"]
16
|| this.DEFAULT_LOCALE).substring(0, 2));
17
source/js/PivotView.js
@@ -853,7 +853,7 @@ PivotView.prototype.renderRawData = function (data) {
853
//div2 = document.createElement("div");
854
if (rawData[y][x].value) {
855
div.textContent = rawData[y][x].value;
856
- } else div.innerHTML = "‌";
+ } else div.innerHTML = " ";
857
//div2.appendChild(div);
858
th.appendChild(div);
859
if (rawData[y][x].style) th.setAttribute("style", rawData[y][x].style);
0 commit comments