From 038fa775ac7cd1621ac06e50e96808de8b9a0a70 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 12 Oct 2017 19:00:47 +0200 Subject: [PATCH] osc: rm remaining parenthesis --- src/browser/js/app/osc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/js/app/osc.js b/src/browser/js/app/osc.js index dd253c0d..846ec271 100644 --- a/src/browser/js/app/osc.js +++ b/src/browser/js/app/osc.js @@ -71,7 +71,7 @@ Osc.prototype.receive = function(data){ // if the message target is provided (when message comes from another client connected to the same server) // then we only update the widgets that have the same target // compare arrays using > and < operators (both false = equality) - if (!target || !widgetTarget || !(widgetTarget < target || widgetTarget > target || (widgetTarget.length !== target.length))) { + if (!target || !widgetTarget || !(widgetTarget < target || widgetTarget > target || widgetTarget.length !== target.length)) { // update matching widgets if (widget[i] && widget[i].setValue) widget[i].setValue(args,{send:false,sync:true,fromExternal:!target}) }