diff --git a/dashboard-ui/scripts/registrationservices.js b/dashboard-ui/scripts/registrationservices.js
index 9ac91f255b..8add335871 100644
--- a/dashboard-ui/scripts/registrationservices.js
+++ b/dashboard-ui/scripts/registrationservices.js
@@ -235,10 +235,11 @@
$('#amount', page).val(pkg.price);
$('#regPrice', page).html("
" + Globalize.translate('ValuePriceUSD').replace('{0}', "$" + pkg.price.toFixed(2)) + "
");
+ $('#ppButton', page).hide();
var url = "http://mb3admin.com/admin/service/user/getPayPalEmail?id=" + pkg.owner;
- fetch(url, { mode: 'no-cors' }).then(function (response) {
+ fetch(url).then(function (response) {
return response.json();
@@ -246,9 +247,8 @@
if (dev.payPalEmail) {
$('#payPalEmail', page).val(dev.payPalEmail);
+ $('#ppButton', page).show();
- } else {
- $('#ppButton', page).hide();
}
});