various fixes

This commit is contained in:
Laurent Mazet 2020-12-28 11:29:17 +01:00
parent b1dade8bb9
commit b0eff630ff
2 changed files with 6 additions and 5 deletions

View File

@ -101,18 +101,19 @@
</label>
</p>
</div>
<div>
<p id="cell-captions-p">
<label>
<span data-l10n="text-content">Cell captions</span>
<span data-l10n="text-content">Cell captions:</span>
<select id="cell-captions">
<option value="clip">Clip when overflows</option>
<option value="dots">Dots when overflows</option>
<option value="clip">Clip when overflow</option>
<option value="dots">Dots when overflow</option>
<option value="none">No caption</option>
<option value="short">Short caption</option>
</select>
</label>
</p>
<div>
</div>
</div>
</section>

View File

@ -2325,7 +2325,7 @@
cells.classList.add("special-cell-label-" + mode);
cells.innerHTML = (mode === "short") ? cells.shortText : cells.longText;
cells.textContent = (mode === "short") ? cells.shortText : cells.longText;
}
}