PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | js/admin/dom.js +2 -4 6.29 → trunk View file →
@@ -146,10 +146,8 @@
146 146
147 147 let labelledBy = id ? jQuery( `#for_${ id }` ) : false;
148 148 labelledBy = id && labelledBy.length ? `aria-labelledby="${ labelledBy.attr( 'id' ) }"` : '';
149 149
150 - // Set empty title attributes so that none of the dropdown options include title attributes.
151 - $select.find( 'option' ).attr( 'title', ' ' );
152 150 $select.multiselect( {
153 151 templates: {
154 152 popupContainer: '<div class="multiselect-container frm-dropdown-menu dropdown-menu"></div>',
155 153 option: '<button type="button" class="multiselect-option dropdown-item frm_no_style_button"></button>',
@@ -161,9 +159,9 @@
161 159 allSelectedText: '',
162 160 // This is 3 by default. We want to show more options before it starts showing a count.
163 161 numberDisplayed: 8,
164 162 onInitialized( _, $container ) {
165 - $container.find( '.multiselect.dropdown-toggle' ).removeAttr( 'title' );
163 + $container.find( '.multiselect.dropdown-toggle,.multiselect-option.dropdown-item' ).removeAttr( 'title' );
166 164 },
167 165 onDropdownShown( event ) {
168 166 const action = jQuery( event.currentTarget.closest( '.frm_form_action_settings, #frm-show-fields' ) );
169 167 if ( action.length ) {
@@ -556,9 +554,9 @@
556 554
557 555 function isTinyMceActive() {
558 556 const { id } = editor;
559 557 const wrapper = document.getElementById( `wp-${ id }-wrap` );
560 - return null !== wrapper && wrapper.classList.contains( 'tmce-active' );
558 + return wrapper && wrapper.classList.contains( 'tmce-active' );
561 559 }
562 560
563 561 function setUpTinyMceVisualButtonListener() {
564 562 jQuery( document ).on(