Overview
Comment: | [fx] tabs -> spaces |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | fx | kill_innerHTML |
Files: | files | file ages | folders |
SHA3-256: |
5cf14b861c026a052b30feef756aa822 |
User & Date: | olr on 2017-07-15 05:14:16 |
Original Comment: | [fr] tabs -> spaces |
Other Links: | branch diff | manifest | tags |
Context
2017-07-15
| ||
05:38 | [fx] gc_panel: paragraphs editable by default check-in: 417e143855 user: olr tags: fx, kill_innerHTML | |
05:14 | [fx] tabs -> spaces check-in: 5cf14b861c user: olr tags: fx, kill_innerHTML | |
2017-07-14
| ||
20:00 | [fx] gc_panel: tooltips reworked, no innerHTML, new CSS check-in: d6ca610c80 user: olr tags: fx, kill_innerHTML | |
Changes
Modified gc_lang/fr/xpi/data/gc_panel.js from [ffd9b6bc23] to [2b7b6123e9].
︙ | ︙ | |||
53 54 55 56 57 58 59 60 61 62 63 64 65 66 | document.getElementById("message").textContent = sText; document.getElementById("messagebox").style.display = "block"; window.setTimeout(closeMessageBox, 20000); }); self.port.on("clearErrors", function (sHtml) { document.getElementById("errorlist").textContent = ""; }); self.port.on("start", function() { startWaitIcon(); }); self.port.on("end", function() { | > | 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | document.getElementById("message").textContent = sText; document.getElementById("messagebox").style.display = "block"; window.setTimeout(closeMessageBox, 20000); }); self.port.on("clearErrors", function (sHtml) { document.getElementById("errorlist").textContent = ""; hideAllTooltips(); }); self.port.on("start", function() { startWaitIcon(); }); self.port.on("end", function() { |
︙ | ︙ | |||
277 278 279 280 281 282 283 | function showTooltip (sNodeErrorId) { // err try { hideAllTooltips(); let xNodeError = document.getElementById(sNodeErrorId); let sTooltipId = (xNodeError.dataset.error_type === "grammar") ? "gc_tooltip" : "sc_tooltip"; let xNodeTooltip = document.getElementById(sTooltipId); | | | 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 | function showTooltip (sNodeErrorId) { // err try { hideAllTooltips(); let xNodeError = document.getElementById(sNodeErrorId); let sTooltipId = (xNodeError.dataset.error_type === "grammar") ? "gc_tooltip" : "sc_tooltip"; let xNodeTooltip = document.getElementById(sTooltipId); let nLimit = nPanelWidth - 330; // paragraph width - tooltip width xNodeTooltip.style.top = (xNodeError.offsetTop + 16) + "px"; xNodeTooltip.style.left = (xNodeError.offsetLeft > nLimit) ? nLimit + "px" : xNodeError.offsetLeft + "px"; if (xNodeError.dataset.error_type === "grammar") { // grammar error document.getElementById("gc_message").textContent = xNodeError.dataset.gc_message; if (xNodeError.dataset.gc_url != "") { document.getElementById("gc_url").style.display = "inline"; |
︙ | ︙ |