Why fades the selection?

On the website lesorubov.spb.ru in the calculation of the approximate value, when you click on a block with trees, the background changes.
If you start to move the slider, lost the selection the selection of whole/parts/carefully.
How to make sure that he did not return to the state before the propulsion of the slider?
July 9th 19 at 13:32
1 answer
July 9th 19 at 13:34
Solution
The link hangs the :focus pseudo-class
#block3 a.list-group-item:hover, 
button.list-group-item:hover, 
a.list-group-item:focus, 
button.list-group-item:focus {
 background-color: #9a9a9a;
}

Need when you click on block to add to the link class .active
.active{
 background-color: #9a9a9a;
}
It will look like?
$(document).ready(function(){

$( ".list-group-item" ).click(function() {
$( ".list-group-item" ).removeClass("active");



}); - Dylan.Schaefer commented on July 9th 19 at 13:37
codepen.io/STutukov/pen/LNoLOJ - Elza44 commented on July 9th 19 at 13:40

Find more questions by tags CSSjQuery