From 3f43dc1855007aa2708d4ef413b7dfac526dec48 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Mon, 19 Apr 2021 10:43:01 +0100 Subject: [PATCH] Fix jshint error --- .../@node-red/editor-client/src/js/ui/common/typedInput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/common/typedInput.js b/packages/node_modules/@node-red/editor-client/src/js/ui/common/typedInput.js index b5d82b830..7cbad2f05 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/common/typedInput.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/common/typedInput.js @@ -1004,7 +1004,7 @@ this.uiSelect.hide(); }, disable: function(val) { - if(val === undefined || !!val === true) { + if(val === undefined || !!val ) { this.uiSelect.attr("disabled", "disabled"); } else { this.uiSelect.attr("disabled", null); //remove attr