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:
		@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user