diff --git a/app/assets/javascripts/allow_participation.js b/app/assets/javascripts/allow_participation.js deleted file mode 100644 index b6223a47c..000000000 --- a/app/assets/javascripts/allow_participation.js +++ /dev/null @@ -1,15 +0,0 @@ -(function() { - "use strict"; - App.AllowParticipation = { - initialize: function() { - $(document).on({ - "mouseenter focus": function() { - $(this).find(".js-participation-not-allowed").show(); - }, - mouseleave: function() { - $(this).find(".js-participation-not-allowed").hide(); - } - }, ".js-participation"); - } - }; -}).call(this); diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 71b2ac9ce..0521eac84 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -66,7 +66,6 @@ //= require tags //= require users //= require votes -//= require allow_participation //= require advanced_search //= require registration_form //= require suggest @@ -124,7 +123,6 @@ var initialize_modules = function() { App.Comments.initialize(); App.Users.initialize(); App.Votes.initialize(); - App.AllowParticipation.initialize(); App.Tags.initialize(); App.FoundationExtras.initialize(); App.LocationChanger.initialize(); diff --git a/app/components/budgets/investments/ballot_component.html.erb b/app/components/budgets/investments/ballot_component.html.erb index 0bf6ee56a..4d3868666 100644 --- a/app/components/budgets/investments/ballot_component.html.erb +++ b/app/components/budgets/investments/ballot_component.html.erb @@ -1,4 +1,4 @@ -