Removed this.topic from the label function

This commit is contained in:
Ben Hardill 2013-09-10 22:44:36 +01:00
parent 75d1adcb18
commit c85ab75fe3
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@
outputs:1, // set the number of outputs - 0 to n
icon: "arrow-in.png", // set the icon (held in public/icons)
label: function() { // sets the default label contents
return this.name||this.topic||"pause "+this.timeout+" s";
return this.name||"pause "+this.timeout+" s";
},
labelStyle: function() { // sets the class to apply to the label
return this.name?"node_label_italic":"";