Remove uneeded lines

There is no elements with class `js-participation-allowed` within all
application code.
This commit is contained in:
Senén Rodero Rodríguez
2020-07-24 13:09:29 +02:00
parent 149ce945c0
commit cda545f2fc

View File

@@ -5,11 +5,9 @@
$(document).on({ $(document).on({
"mouseenter focus": function() { "mouseenter focus": function() {
$(this).find(".js-participation-not-allowed").show(); $(this).find(".js-participation-not-allowed").show();
$(this).find(".js-participation-allowed").hide();
}, },
mouseleave: function() { mouseleave: function() {
$(this).find(".js-participation-not-allowed").hide(); $(this).find(".js-participation-not-allowed").hide();
$(this).find(".js-participation-allowed").show();
} }
}, ".js-participation"); }, ".js-participation");
} }