yusuketk 7 anni fa
parent
commit
a1717ff686
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      lib/views/admin/notification.html

+ 3 - 3
lib/views/admin/notification.html

@@ -269,12 +269,12 @@
       }
     });
 
-    $("#selectSlackOption").on('change',function(){
-      if(this.value=="1"){
+    $("#selectSlackOption").on('change', function() {
+      if (this.value === "1") {
         $("#slack-app").removeClass('active');
         $("#slack-incoming-webhooks").addClass('active');
       }
-      if(this.value=="2"){
+      else if (this.value === "2") {
         $("#slack-incoming-webhooks").removeClass('active');
         $("#slack-app").addClass('active');
       }