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/PrefHelpers.js | |
| parent | 98f0035a9598ba2d50e00b9d7302ecb501a84900 (diff) | |
Fix some more issues related to ESLint 'eqeqeq' changes (again).
Diffstat (limited to 'js/PrefHelpers.js')
| -rw-r--r-- | js/PrefHelpers.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/PrefHelpers.js b/js/PrefHelpers.js index fbe1d37f5..cf3f03bf2 100644 --- a/js/PrefHelpers.js +++ b/js/PrefHelpers.js @@ -455,7 +455,7 @@ const Helpers = { Notify.progress("Loading, please wait..."); xhr.json("backend.php", {op: "Pref_Prefs", method: "uninstallPlugin", plugin: plugin}, (reply) => { - if (reply && reply.status === 1) + if (reply?.status === true) Helpers.Plugins.reload(); else { Notify.error("Plugin uninstallation failed."); |