diff --git a/frontend/js/dashboard-domain.js b/frontend/js/dashboard-domain.js index 5b996d7..ac11ac4 100644 --- a/frontend/js/dashboard-domain.js +++ b/frontend/js/dashboard-domain.js @@ -120,14 +120,14 @@ }; global.post(global.origin + "/api/domain/update", json, function(resp) { - if (callback !== undefined) { - callback(resp.success); - } - if (!resp.success) { global.globalErrorShow(resp.message); return; } + + if (callback !== undefined) { + callback(resp.success); + } }); }