I'm using Semantic UI library, and my <tr>
table elements have a hover effect on them from the "selectable"
class on the table.
But I would like to disable this hover on specific rows(when they enter edit mode) without having to edit the css files (As my scope is only html/javascript, I'm only trying to mend an old issue)
I tried using pointer-events:none;
but in my case there are other buttons inside the <tr>
and they got disabled
Javascript event on the rows :
$('body').on('click', '#edit_card table tbody tr .link.icon.edit', function(){
var row = $(this).closest('tr');
switch_row_to_editing_mode(row);
})
CSS styling from the element inspector :