various fixes
authorLaurent Mazet <mazet@softndesign.org>
Mon, 28 Dec 2020 10:29:17 +0000 (11:29 +0100)
committerLaurent Mazet <mazet@softndesign.org>
Mon, 28 Dec 2020 10:29:17 +0000 (11:29 +0100)
public/index.html
public/trivabble.js

index ed592cf0ea8c7710032c23ded9b34af7a3a1115e..b4c1896fc77f5d5bac1d07d4e31ea6371dd844cf 100644 (file)
                         </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>
 
index 4e7a3b260961b4bc513b6e72128f7254317d2de9..7ce7c1c2c6d74516f697cb474e2ca6a47f3d4aae 100644 (file)
 
             cells.classList.add("special-cell-label-" + mode);
 
-            cells.innerHTML = (mode === "short") ? cells.shortText : cells.longText;
+            cells.textContent = (mode === "short") ? cells.shortText : cells.longText;
         }
     }