1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Merge pull request #2850 from node-red-hitachi/fix-grant-jshint-failure

fix jshint failure
This commit is contained in:
Nick O'Leary 2021-01-30 08:46:18 +00:00 committed by GitHub
commit ac68e9c6b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,7 +175,8 @@ RED.sidebar.info.outliner = (function() {
if (targetState === undefined) { if (targetState === undefined) {
targetState = !n.d; targetState = !n.d;
} }
if (!!n.d !== targetState) { var state = !!n.d;
if (state !== targetState) {
var historyEvent = { var historyEvent = {
t: "edit", t: "edit",
node: n, node: n,