| @@ -15,9 +15,9 @@ | ||
| 15 | 15 | <?php FrmFormsHelper::publish_box_button_text(); ?> |
| 16 | 16 | </button> |
| 17 | 17 | |
| 18 | 18 | <div id="frm-preview-action"> |
| 19 | - <?php if ( ( ! isset( $hide_preview ) || ! $hide_preview ) && isset( $values['form_key'] ) ) { ?> | |
| 19 | + <?php if ( empty( $hide_preview ) && isset( $values['form_key'] ) ) { ?> | |
| 20 | 20 | <div class="preview dropdown"> |
| 21 | 21 | <a href="#" id="frm-previewDrop" class="frm-dropdown-toggle button frm-button-secondary" role="button"> |
| 22 | 22 | <?php esc_html_e( 'Preview', 'formidable' ); ?> |
| 23 | 23 | <?php FrmAppHelper::icon_by_class( 'frmfont frm_arrowdown6_icon frm_svg13', array( 'aria-hidden' => 'true' ) ); ?> |