mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Fix jshint error
This commit is contained in:
@@ -1004,7 +1004,7 @@
|
|||||||
this.uiSelect.hide();
|
this.uiSelect.hide();
|
||||||
},
|
},
|
||||||
disable: function(val) {
|
disable: function(val) {
|
||||||
if(val === undefined || !!val === true) {
|
if(val === undefined || !!val ) {
|
||||||
this.uiSelect.attr("disabled", "disabled");
|
this.uiSelect.attr("disabled", "disabled");
|
||||||
} else {
|
} else {
|
||||||
this.uiSelect.attr("disabled", null); //remove attr
|
this.uiSelect.attr("disabled", null); //remove attr
|
||||||
|
Reference in New Issue
Block a user