mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-25 01:33:51 +02:00
using isObject() instead of typeof
This commit is contained in:
@@ -255,7 +255,7 @@ if (window.CefSharp) {
|
||||
text: escapeTag(json.success.message)
|
||||
}).show();
|
||||
}
|
||||
} else if (typeof json.error === 'object') {
|
||||
} else if (isObject(json.error)) {
|
||||
this.$throw(
|
||||
json.error.status_code || res.status,
|
||||
json.error.message,
|
||||
|
||||
Reference in New Issue
Block a user