Overview
Comment: | [tb] use nnbsp in suggestion message instead of spaces (prevent flat button if there is only spaces) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | tb |
Files: | files | file ages | folders |
SHA3-256: |
bae0f1575ac08c4e2ca349e285c00e83 |
User & Date: | olr on 2017-10-26 08:12:28 |
Other Links: | manifest | tags |
Context
2017-10-26
| ||
08:40 | [core][js] comment console.log(): Chrome don’t like it check-in: e42b4f000b user: olr tags: trunk, core | |
08:12 | [tb] use nnbsp in suggestion message instead of spaces (prevent flat button if there is only spaces) check-in: bae0f1575a user: olr tags: trunk, tb | |
07:52 | [fx] CSS: min-height for tooltip suggestions (prevent flat line if there is only spaces) check-in: b6c94cd7cb user: olr tags: trunk, fx | |
Changes
Modified gc_lang/fr/tb/content/overlay.js from [a6d0f601cc] to [0f3db968a0].
︙ | ︙ | |||
294 295 296 297 298 299 300 | let n = 0; for (let sSugg of dErr["aSuggestions"]) { if (n > 0) { xNodeSuggLine.appendChild(document.createTextNode(" ")); } let xNodeSugg = document.createElement("span"); xNodeSugg.setAttribute("class", "sugg"); | | | | 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 | let n = 0; for (let sSugg of dErr["aSuggestions"]) { if (n > 0) { xNodeSuggLine.appendChild(document.createTextNode(" ")); } let xNodeSugg = document.createElement("span"); xNodeSugg.setAttribute("class", "sugg"); xNodeSugg.textContent = sSugg.replace(" ", " "); // use nnbsp xNodeSugg.addEventListener("click", function (e) { xEditor.changeParagraph(iParagraph, sSugg, dErr["nStart"], dErr["nEnd"]); xNodeDiv.textContent = ""; that.reparseParagraph(xEditor, iParagraph); }); xNodeSuggLine.appendChild(xNodeSugg); n += 1; } xNodeDiv.appendChild(xNodeSuggLine); |
︙ | ︙ |