Remove unnecessary return statements
These statements were automatically added by CoffeeScript. I'm only removing the obvious cases; there might be more cases where the `return` statement isn't necessary.
This commit is contained in:
@@ -1,16 +1,15 @@
|
||||
// Generated by CoffeeScript 1.12.6
|
||||
(function() {
|
||||
"use strict";
|
||||
App.AllowParticipation = {
|
||||
initialize: function() {
|
||||
return $(document).on({
|
||||
$(document).on({
|
||||
"mouseenter focus": function() {
|
||||
$(this).find(".js-participation-not-allowed").show();
|
||||
return $(this).find(".js-participation-allowed").hide();
|
||||
$(this).find(".js-participation-allowed").hide();
|
||||
},
|
||||
mouseleave: function() {
|
||||
$(this).find(".js-participation-not-allowed").hide();
|
||||
return $(this).find(".js-participation-allowed").show();
|
||||
$(this).find(".js-participation-allowed").show();
|
||||
}
|
||||
}, ".js-participation");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user