This commit is contained in:
pypy
2020-01-13 00:51:00 +09:00
parent 4641ce58c3
commit dc91cd9973
2 changed files with 2 additions and 6 deletions

View File

@@ -295,9 +295,7 @@ CefSharp.BindObjectAsync(
}
this.$throw(res.status);
}).then((json) => {
if (isObject(json) === false) {
this.$throw(0, 'Invalid JSON response');
} else if (res.ok) {
if (res.ok) {
if (isObject(json.success)) {
new Noty({
type: 'success',

View File

@@ -241,9 +241,7 @@ CefSharp.BindObjectAsync(
}
this.$throw(res.status);
}).then((json) => {
if (isObject(json) === false) {
this.$throw(0, 'Invalid JSON response');
} else if (res.ok) {
if (res.ok) {
if (isObject(json.success)) {
new Noty({
type: 'success',