Overview
Comment: | [fx][bug] no empty suggestions. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | fx | webext2 |
Files: | files | file ages | folders |
SHA3-256: |
3e239888b8e4b745ee56ba28e54cce8c |
User & Date: | olr on 2017-08-15 19:51:35 |
Other Links: | branch diff | manifest | tags |
Context
2017-08-16
| ||
08:41 | [fx] grammar checking ui check-in: 21a09f0c1a user: olr tags: fx, webext2 | |
2017-08-15
| ||
19:51 | [fx][bug] no empty suggestions. check-in: 3e239888b8 user: olr tags: fx, webext2 | |
12:02 | [fx] panel ui adjustment + fix lexicographer display bug check-in: 2aee80c61f user: olr tags: fx, webext2 | |
Changes
Modified gc_lang/fr/webext/content_scripts/gc_content.js from [27a797448e] to [a808a028fc].
︙ | ︙ | |||
175 176 177 178 179 180 181 | } else { document.getElementById("gc_url").style.display = "none"; } document.getElementById("gc_ignore").dataset.error_id = xNodeErr.dataset.error_id; let iSugg = 0; let xGCSugg = document.getElementById("gc_sugg_block"); xGCSugg.textContent = ""; | > | | | | > > > | 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 | } else { document.getElementById("gc_url").style.display = "none"; } document.getElementById("gc_ignore").dataset.error_id = xNodeErr.dataset.error_id; let iSugg = 0; let xGCSugg = document.getElementById("gc_sugg_block"); xGCSugg.textContent = ""; if (xNodeErr.dataset.suggestions.length > 0) { for (let sSugg of xNodeErr.dataset.suggestions.split("|")) { xGCSugg.appendChild(this._createSuggestion(xNodeErr.dataset.error_id, iSugg, sSugg)); xGCSugg.appendChild(document.createTextNode(" ")); iSugg += 1; } } else { xGCSugg.textContent = "Aucune."; } } xNodeTooltipArrow.style.display = "block"; xNodeTooltip.style.display = "block"; if (xNodeErr.dataset.error_type === "spelling") { // spelling mistake document.getElementById("sc_ignore").dataset.error_id = xNodeErr.dataset.error_id; |
︙ | ︙ |