mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed issues reported by SonarQube with tag 'bad-practice'.
This commit is contained in:
committed by
Akshay Joshi
parent
9e40995ab0
commit
6620f9263d
@@ -581,15 +581,12 @@ define([
|
||||
|
||||
// triggered when a dialog option gets update.
|
||||
onupdate: function(option, oldValue, newValue) {
|
||||
|
||||
switch (option) {
|
||||
case 'resizable':
|
||||
if(option === 'resizable') {
|
||||
if (newValue) {
|
||||
this.elements.content.removeAttribute('style');
|
||||
} else {
|
||||
this.elements.content.style.minHeight = 'inherit';
|
||||
}
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user