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.
12 lines
232 B
JavaScript
12 lines
232 B
JavaScript
(function() {
|
|
"use strict";
|
|
App.SendNewsletterAlert = {
|
|
initialize: function() {
|
|
$("#js-send-newsletter-alert").on("click", function() {
|
|
return confirm(this.dataset.alert);
|
|
});
|
|
}
|
|
};
|
|
|
|
}).call(this);
|