Skip to content

Commit

Permalink
fix: Account address change
Browse files Browse the repository at this point in the history
Enables JS on the edit address page
  • Loading branch information
seebeen committed Feb 2, 2024
1 parent e5e9b48 commit 854bf9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Serbian_WooCommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected function get_dependencies(): array {
}

/**
* Loads the plugin textdomain
* Initializes the installer
*
* @hook plugins_loaded
* @type action
Expand Down Expand Up @@ -150,7 +150,7 @@ public function change_currency_symbol( $currency_symbol, $currency ) {
*/
public function check_asset_necessity( $load, $script ) {
return match ( $script ) {
'main' => \is_checkout() && ! \is_wc_endpoint_url(),
'main' => ( \is_checkout() && ! \is_wc_endpoint_url() ) || \is_account_page(),
default => $load,
};
}
Expand Down

0 comments on commit 854bf9e

Please sign in to comment.