diff --git a/public/views/new-community.js b/public/views/new-community.js index 9aae676..8d6b6c2 100644 --- a/public/views/new-community.js +++ b/public/views/new-community.js @@ -1,10 +1,14 @@ -modulejs.define("NewCommunity", ['jquery'], function($){ +modulejs.define("NewCommunity", ['jquery'], function($) { - function replace_mandatory_message(){ + function replace_mandatory_message() { $(".required-field").first() .replaceWith(" Os campos em destaque são obrigatórios. "); } + function remove_image_builder_text() { + $("label:contains('Image builder')").hide(); + } + return { isCurrentPage: function() { @@ -13,6 +17,7 @@ modulejs.define("NewCommunity", ['jquery'], function($){ init: function() { replace_mandatory_message(); + remove_image_builder_text(); } } }) -- libgit2 0.21.2