1
0
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:
Nick O'Leary 2021-04-19 10:43:01 +01:00
parent 4a4e7fc7cb
commit 3f43dc1855
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -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