Skip to content

Commit 840e9eb

Browse files
v23entv23ent
authored andcommitted
changed formatting content
1 parent 53d2acb commit 840e9eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/js/PivotView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ PivotView.prototype.renderRawData = function (data) {
801801
);
802802

803803
var formatContent = function (value, element, format) {
804-
if (!isFinite(value)) { // not number, format as string
804+
if (typeof(value) === 'string') { // not number, format as string
805805
element.className += " formatLeft";
806806
element.innerHTML = (value || "").replace(/(https?|ftp):\/\/[^\s]+/ig, function linkReplace (p) {
807807
return "<a href='" + p

0 commit comments

Comments
 (0)