Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kewitham committed Sep 18, 2023
1 parent 3e848ee commit f047fa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _assets/js/laws-regs-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ function buildBtns(i, divType) {

function highlightText(e, divType) {
const section = e.target.closest(divType);
section.className = 'section highlight';
section.classList.add('highlight');
}

function unHighlightText(e, divType) {
const section = e.target.closest(divType);
section.className = 'section';
section.classList.remove('highlight');
}

function copyText(e, divType) {
Expand Down

0 comments on commit f047fa4

Please sign in to comment.