diff options
| author | supahgreg <supahgreg@users.noreply.github.com> | 2025-10-14 04:36:36 +0000 |
|---|---|---|
| committer | supahgreg <supahgreg@users.noreply.github.com> | 2025-10-14 04:36:36 +0000 |
| commit | 8b46ab31a96b6b6129f624719ac33ddf761805f1 (patch) | |
| tree | dd05781a7bf2932f166b3596c1dc66b4323ba2f0 /js/common.js | |
| parent | 98f0035a9598ba2d50e00b9d7302ecb501a84900 (diff) | |
Fix some more issues related to ESLint 'eqeqeq' changes (again).
Diffstat (limited to 'js/common.js')
| -rwxr-xr-x | js/common.js | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/js/common.js b/js/common.js index 60b2f4c9c..48a42b95a 100755 --- a/js/common.js +++ b/js/common.js @@ -217,21 +217,22 @@ const xhr = { console.log('xhr.json', '<<<', obj, (new Date().getTime() - xhr._ts) + " ms"); - if (obj && typeof App !== "undefined") - if (!App.handleRpcJson(obj)) { + if (obj && typeof App !== 'undefined') { + if (!App.handleRpcJson(obj)) { - if (typeof failed === 'function') - failed(obj); + if (typeof failed === 'function') + failed(obj); - reject(obj); - return; + reject(obj); + return; + } } - if (typeof complete === 'function') - complete(obj); + if (typeof complete === 'function') + complete(obj); - resolve(obj); - })); + resolve(obj); + })); } }; |