Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Text highlight > mutation observer ignore attributes #15

Merged
merged 2 commits into from
Nov 12, 2018

Conversation

Blackbaud-AlexKingman
Copy link
Contributor

Highlight modifies attributes when a search is performed. However, the highlight directive observes attributes, so the observer is fired multiple times. This change tells the observer to ignores attribute.

@codecov-io
Copy link

codecov-io commented Nov 9, 2018

Codecov Report

Merging #15 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #15   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          28     28           
  Lines         493    493           
  Branches       77     77           
=====================================
  Hits          493    493
Impacted Files Coverage Δ
...modules/text-highlight/text-highlight.directive.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0c4e861...32395ca. Read the comment docs.

@Blackbaud-SteveBrush Blackbaud-SteveBrush self-assigned this Nov 12, 2018
@Blackbaud-SteveBrush Blackbaud-SteveBrush merged commit 4c938f3 into master Nov 12, 2018
@Blackbaud-SteveBrush Blackbaud-SteveBrush deleted the mutation-observer-fix branch November 12, 2018 21:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants