| @@ -50,12 +50,9 @@ | ||
| 50 | 50 | type="button"> |
| 51 | 51 | <?php esc_html_e( 'Try again', 'image-optimization' ); ?> |
| 52 | 52 | </button> |
| 53 | 53 | <?php |
| 54 | - } elseif ( isset( $args['images_left'] ) && 0 === $args['images_left'] ) { | |
| 55 | - if ( Core_Module::is_elementor_one() ) { | |
| 56 | - return; | |
| 57 | - } | |
| 54 | + } elseif ( isset( $args['images_left'] ) && 0 === $args['images_left'] && ! Core_Module::is_elementor_one() ) { | |
| 58 | 55 | ?> |
| 59 | 56 | <a class="button button-secondary button-large image-optimization-control__button" |
| 60 | 57 | href="<?php echo esc_url( Utils::get_upgrade_link( 'https://go.elementor.com/io-panel-upgrade/' ) ); ?>" |
| 61 | 58 | target="_blank" rel="noopener noreferrer"> |