| @@ -175,9 +175,11 @@ | ||
| 175 | 175 | * Imagify Scripts. |
| 176 | 176 | */ |
| 177 | 177 | $this->register_script( 'admin-bar', 'admin-bar', [ 'jquery' ] )->defer_localization( 'imagifyAdminBar' ); |
| 178 | 178 | |
| 179 | - $this->register_script( 'admin', 'admin', [ 'jquery' ] ); | |
| 179 | + $this->register_script( 'helpers', 'helpers' ); | |
| 180 | + | |
| 181 | + $this->register_script( 'admin', 'admin', [ 'jquery', 'helpers' ] ); | |
| 180 | 182 | |
| 181 | 183 | $this->register_script( 'notices', 'notices', [ 'jquery', 'admin' ] )->defer_localization( 'imagifyNotices' ); // Needs SweetAlert on some cases. |
| 182 | 184 | |
| 183 | 185 | $this->register_script( 'twentytwenty', 'jquery.twentytwenty', [ 'jquery', 'event-move', 'chart', 'admin' ] )->defer_localization( 'imagifyTTT' ); |