Commit 46f9905c authored by Bastien Ho's avatar Bastien Ho :alien:
Browse files

jQuery is still needed

Showing with 2 additions and 3 deletions
+2 -3
......@@ -15,7 +15,6 @@ const cartable_select_zone = function(){
;
CRM.$('#cartable-academies-selector').append(item_row);
});
};
CRM.$('#cartable-academies-map-wrapper svg path').each(function(){
......@@ -26,14 +25,14 @@ CRM.$('#cartable-academies-map-wrapper svg path').each(function(){
CRM.$(this).addClass('zone').on('click', cartable_select_zone);
});
CRM.$(document).ready(function(){
jQuery(document).ready(function(){
CRM.$('.crm-contribution-main-form-block .crm-public-form-item').each(function(){
CRM.$('script', CRM.$(this)).insertAfter(CRM.$('.crm-contribution-main-form-block'));
if((CRM.$(this).text()).trim()===''){
CRM.$(this).remove();
}
});
CRM.$('.crm-contribution-main-form-block').createTabs({
jQuery('.crm-contribution-main-form-block').createTabs({
children: '.cartable-tab-section',
childrenTitle: 'h2',
//hideUntilLast: 'input[type=submit]',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment