Convert CofeeScript to JavaScript
Compiled using `coffee -c` with CoffeeScript 1.12.6.
This commit is contained in:
19
app/assets/javascripts/allow_participation.js
Normal file
19
app/assets/javascripts/allow_participation.js
Normal file
@@ -0,0 +1,19 @@
|
||||
// Generated by CoffeeScript 1.12.6
|
||||
(function() {
|
||||
"use strict";
|
||||
App.AllowParticipation = {
|
||||
initialize: function() {
|
||||
return $(document).on({
|
||||
"mouseenter focus": function() {
|
||||
$(this).find(".js-participation-not-allowed").show();
|
||||
return $(this).find(".js-participation-allowed").hide();
|
||||
},
|
||||
mouseleave: function() {
|
||||
$(this).find(".js-participation-not-allowed").hide();
|
||||
return $(this).find(".js-participation-allowed").show();
|
||||
}
|
||||
}, ".js-participation");
|
||||
}
|
||||
};
|
||||
|
||||
}).call(this);
|
||||
Reference in New Issue
Block a user