Debug message formatting mangling brackets

This commit is contained in:
Nick O'Leary
2015-03-20 22:09:58 +00:00
parent 1d10eba0cc
commit b61a250d58
5 changed files with 66 additions and 40 deletions

View File

@@ -97,7 +97,7 @@ RED.sidebar.info = (function() {
var val = node[n]||"";
var type = typeof val;
if (type === "string") {
if (val.length == 0) {
if (val.length === 0) {
val += '<span style="font-style: italic; color: #ccc;">blank</span>';
} else {
if (val.length > 30) {