From 71fd416fd033b7cefe049de5f76fa929604b7c64 Mon Sep 17 00:00:00 2001
From: amcmanu3 <mcdeweykp@gmail.com>
Date: Sat, 2 Apr 2022 21:47:32 -0400
Subject: [PATCH] Appease Zedifus

---
 app/frontend/templates/panel/dashboard.html       | 4 ++--
 app/frontend/templates/panel/panel_edit_user.html | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app/frontend/templates/panel/dashboard.html b/app/frontend/templates/panel/dashboard.html
index 0d8a3004..9f213905 100644
--- a/app/frontend/templates/panel/dashboard.html
+++ b/app/frontend/templates/panel/dashboard.html
@@ -632,7 +632,7 @@
 
   $(document).on("mousedown keyup click", function (event) {
     const value = $('.dataTables_filter input').val();
-    const is_mobile = $('#mobile').css('display') == 'none';
+    const is_mobile = $('#mobile').css('display') === 'none';
 
     if ($("table#servers_table tbody").sortable("toArray").length > 1 && value === '' && !is_mobile) {
       $("table#servers_table tbody").sortable("enable");
@@ -691,7 +691,7 @@
 
     // Fixes the appearance of a scrollbar when a user tries to drag an item too low
     // Disabled on mobile since sorting is disabled on mobile
-    if ($('#mobile').css('display') != 'none') {
+    if ($('#mobile').css('display') !== 'none') {
       $("div#servers_table_wrapper").css({ overflow: "hidden" });
     }
   });
diff --git a/app/frontend/templates/panel/panel_edit_user.html b/app/frontend/templates/panel/panel_edit_user.html
index 1e42bf17..fa6f6773 100644
--- a/app/frontend/templates/panel/panel_edit_user.html
+++ b/app/frontend/templates/panel/panel_edit_user.html
@@ -316,7 +316,7 @@
       },
       callback: function (result) {
         console.log(result);
-        if (result == true) {
+        if (result === true) {
           location.href = "/panel/remove_user?id=" + userId;
         }
       }
@@ -338,7 +338,7 @@
           }
         },
         callback: function (result) {
-          if (result == true) {
+          if (result === true) {
             return;
           } else {
             document.getElementById('superuser').checked = false;