service2.js: Remove excessive clearProofing() call
The markProofed() is called for block elements not proofed == not present in this.results. Hence, clearProofing() has no effect in markProofed().
This commit is contained in:
parent
49dc3385ea
commit
478f6269ee
@ -507,7 +507,6 @@ class BesDOMService extends BesService {
|
|||||||
* @param {Array} matches Grammar mistakes
|
* @param {Array} matches Grammar mistakes
|
||||||
*/
|
*/
|
||||||
markProofed(el, matches) {
|
markProofed(el, matches) {
|
||||||
this.clearProofing(el)
|
|
||||||
this.results.push({
|
this.results.push({
|
||||||
element: el,
|
element: el,
|
||||||
matches: matches
|
matches: matches
|
||||||
|
Loading…
x
Reference in New Issue
Block a user