Skip to content

Commit 1f689e6

Browse files
committed
minor fix
1 parent a50d27f commit 1f689e6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Desktop/html/js/jaspwidgets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ JASPWidgets.Exporter = {
250250
},
251251

252252
getTableContentStyles: function (element, exportParams) {
253-
return JASPWidgets.Exporter.getStyles(element, ["border-collapse", "border-top-width", "border-bottom-width", "border-left-width", "border-right-width", "border-color", "border-style", "padding", "text-align", "margin", "display", "float", "font-size", "font-weight", "font", "color"]);
253+
return JASPWidgets.Exporter.getStyles(element, ["border-collapse", "border-top-width", "border-bottom-width", "border-left-width", "border-right-width", "border-color", "border-style", "padding", "text-align", "margin", "display", "float", "font-size", "font-weight", "font", "color", "background", "background-color"]);
254254
},
255255

256256
getErrorStyles: function (element, component) {

Desktop/html/js/table.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ JASPWidgets.tablePrimitive = JASPWidgets.View.extend({
556556

557557
chunks.push('<thead>')
558558
chunks.push('<tr>')
559-
chunks.push('<th colspan="' + columnCount + '"><div class="toolbar"></div></div>')
559+
chunks.push('<th colspan="' + columnCount + '"><div class="toolbar"></div>')
560560

561561
if (optError && optError.errorMessage) {
562562

@@ -705,8 +705,8 @@ JASPWidgets.tablePrimitive = JASPWidgets.View.extend({
705705
cellHtml += '>'
706706
cellHtml += (typeof cell.content != "undefined" ? cell.content : '')
707707

708-
if (typeof cell.footnotes != "undefined" && cell.footnotes.length > 0)
709-
cellHtml += '<sup>' + cell.footnotes.join('') + '</sup>'
708+
if (typeof cell.footnotes != "undefined")
709+
cellHtml += cell.footnotes.join(' ')
710710

711711
cellHtml += (cell.header ? '</th>' : '</td>')
712712

0 commit comments

Comments
 (0)