mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Remove jshint warning
This commit is contained in:
parent
de8a5ea262
commit
f28bc1bff7
@ -591,7 +591,7 @@ RED.nodes = (function() {
|
|||||||
prop === 'z' ||
|
prop === 'z' ||
|
||||||
prop === 'l' ||
|
prop === 'l' ||
|
||||||
prop === 'd' ||
|
prop === 'd' ||
|
||||||
(prop === 'changed' && !!node.changed !== !!value) ||
|
(prop === 'changed' && (!!node.changed) !== (!!value)) || // jshint ignore:line
|
||||||
((prop === 'x' || prop === 'y') && !node.resize && node.type !== 'group')
|
((prop === 'x' || prop === 'y') && !node.resize && node.type !== 'group')
|
||||||
) {
|
) {
|
||||||
throw new Error(`Cannot modified property '${prop}' of locked object '${node.type}:${node.id}'`)
|
throw new Error(`Cannot modified property '${prop}' of locked object '${node.type}:${node.id}'`)
|
||||||
|
Loading…
Reference in New Issue
Block a user