175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
|
} 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 = "";
for (let sSugg of xNodeErr.dataset.suggestions.split("|")) {
xGCSugg.appendChild(this._createSuggestion(xNodeErr.dataset.error_id, iSugg, sSugg));
xGCSugg.appendChild(document.createTextNode(" "));
iSugg += 1;
}
}
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;
|
>
|
|
|
|
>
>
>
|
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;
|