Skip to content

Commit

Permalink
Merge pull request #465 from FlowFuse/logs
Browse files Browse the repository at this point in the history
Clear excess console.logs
  • Loading branch information
joepavitt authored Jan 3, 2024
2 parents a9c75ed + d90a0c4 commit 9df002c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions nodes/widgets/ui_control.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,8 @@ module.exports = function (RED) {
}
},
'ui-control': function (conn, id, evt, payload) {
console.log('ui-control', id, evt, payload, id, node.id)
if (id === node.id && (config.events === 'all' || config.events === 'change')) {
// this message was sent by this particular node
console.log('inside')
if (evt === 'change') {
const wNode = RED.nodes.getNode(node.id)
let msg = {
Expand Down
1 change: 0 additions & 1 deletion nodes/widgets/ui_notification.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@

$('#node-input-colorDefault').on('change', function () {
const defaultColor = $('#node-input-colorDefault').is(':checked')
console.log(defaultColor)
if (defaultColor) {
$('#node-input-color').hide()
} else {
Expand Down

0 comments on commit 9df002c

Please sign in to comment.