Skip to content

Commit

Permalink
Merge pull request #15705 from brave/brave_26104
Browse files Browse the repository at this point in the history
Close gateway url change popup after click submit
  • Loading branch information
cypt4 authored Nov 13, 2022
2 parents 11c1f6e + 1b7c413 commit 3576b87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class ChangeIpfsGatewayDialog extends ChangeIpfsGatewayDialogBase {
this.isUrlValid_ = success
if (success) {
this.setPrefValue(this.pref.key, this.gatewayUrl_);
this.fire('close');
this.dispatchEvent(new Event('close'));
} else {
this.invalidAddressMessage_ = this.i18n('ipfsErrorInvalidAddressOrigin')
}
Expand Down

0 comments on commit 3576b87

Please sign in to comment.