diff --git a/nodes/widgets/ui_slider.js b/nodes/widgets/ui_slider.js index 4abcd6c9e..eba1c539a 100644 --- a/nodes/widgets/ui_slider.js +++ b/nodes/widgets/ui_slider.js @@ -47,13 +47,13 @@ module.exports = function (RED) { } if (typeof (updates.color) !== 'undefined') { statestore.set(group.getBase(), node, msg, 'color', updates.color) - } + } if (typeof (updates.colorTrack) !== 'undefined') { statestore.set(group.getBase(), node, msg, 'color-track', updates.colorTrack) - } + } if (typeof (updates.colorThumb) !== 'undefined') { statestore.set(group.getBase(), node, msg, 'color-thumb', updates.colorThumb) - } + } } return msg } diff --git a/ui/src/widgets/ui-slider/UISlider.vue b/ui/src/widgets/ui-slider/UISlider.vue index 2d710eb01..d6bdc87c3 100644 --- a/ui/src/widgets/ui-slider/UISlider.vue +++ b/ui/src/widgets/ui-slider/UISlider.vue @@ -32,7 +32,7 @@ export default { max: null, color: null, colorTrack: null, - colorThumb: null + colorThumb: null } } },