xxxxxxxxxx
// Using jQuery, select all elements that do not have a particular class
const elementsWithoutClass = $(":not(.className)");
xxxxxxxxxx
jQuery(document).on('click', '.fo-line:not(.deleted) .clickable', function(e) {
e.preventDefault();
// do your stuff...
});