From 32692dce077f271e3b4e7b929c7b4dd6aa9bf814 Mon Sep 17 00:00:00 2001 From: Hiroyasu Nishiyama Date: Sat, 30 Jan 2021 09:43:01 +0900 Subject: [PATCH] fix jshint failure --- .../@node-red/editor-client/src/js/ui/tab-info-outliner.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/tab-info-outliner.js b/packages/node_modules/@node-red/editor-client/src/js/ui/tab-info-outliner.js index 6949ad261..891f9f7dc 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/tab-info-outliner.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/tab-info-outliner.js @@ -175,7 +175,8 @@ RED.sidebar.info.outliner = (function() { if (targetState === undefined) { targetState = !n.d; } - if (!!n.d !== targetState) { + var state = !!n.d; + if (state !== targetState) { var historyEvent = { t: "edit", node: n,