compupro / latin-annotator

A JS web app that annotates latin text and shows word agreement relationships
GNU General Public License v3.0
0 stars 0 forks source link

Define the highlight as part of a CSS class #7

Closed compupro closed 5 years ago

compupro commented 5 years ago

Right now the highlight is set with an Element.style.backgroundColor and it's probably better to make a CSS class for it and add the class to the element instead.

compupro commented 5 years ago

Done in https://github.com/compupro/latin-annotator/commit/8dff1f0b5e50f933bb54f6b0b710bd7ecad377f1