mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix jshint error
This commit is contained in:
parent
4a4e7fc7cb
commit
3f43dc1855
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user