Fixed following code smells reported by SonarQube:

1) Remove this redundant jump.
 2) Remove this commented out code.
 3) Variables should not be shadowed.
This commit is contained in:
Akshay Joshi
2022-01-21 18:53:48 +05:30
parent 12d6271b13
commit 343c3ee49c
50 changed files with 130 additions and 161 deletions

View File

@@ -615,9 +615,7 @@ define('pgadmin.preferences', [
Alertify.pgDialogBuild.apply(this);
},
hooks: {
onshow: function() {
// $(this.elements.body).addClass('pgadmin-preference-body');
},
onshow: function() {/* This is intentional (SonarQube) */},
},
};
});