commit | 15813b2e518ca1adfaa6dbd3f0cba0c90cbbbe4b | [log] [tgz] |
---|---|---|
author | Simon Hunt <simon@onlab.us> | Fri Jan 29 08:29:08 2016 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Fri Jan 29 17:04:17 2016 +0000 |
tree | a5515b0a04fed3e20d152332d11d02dbcf84b478 | |
parent | c132c11b270dadba1b9335a74d8031dfb450743e [diff] [blame] |
Remove unnecessary parentheses (but keep some for clarity). Change-Id: If2072c3a207ba791210cb71a9c595f6027c2ff0c
diff --git a/web/gui/src/main/webapp/app/view/topo/topoModel.js b/web/gui/src/main/webapp/app/view/topo/topoModel.js index 9376869..282a066 100644 --- a/web/gui/src/main/webapp/app/view/topo/topoModel.js +++ b/web/gui/src/main/webapp/app/view/topo/topoModel.js
@@ -202,7 +202,7 @@ var s = lnk.fromSource, t = lnk.fromTarget, both = lnk.source.online && lnk.target.online; - return both && ((s && s.online) && (t && t.online)); + return both && (s && s.online) && (t && t.online); }, linkWidth: function () { var s = lnk.fromSource,