Tiny tidy of email node

really needs a proper re-write…
This commit is contained in:
Dave Conway-Jones
2018-03-20 17:18:20 +00:00
parent 34199142dd
commit 74d51f5a79
3 changed files with 7 additions and 6 deletions

View File

@@ -97,7 +97,7 @@
return this.dname||this.name||"email";
},
labelStyle: function() {
return (this.dname||!this.topic)?"node_label_italic":"";
return (this.dname)?"node_label_italic":"";
},
oneditprepare: function() {
if (this.credentials.global) {
@@ -249,7 +249,7 @@
return this.name||"email";
},
labelStyle: function() {
return (this.name||!this.topic)?"node_label_italic":"";
return (this.name)?"node_label_italic":"";
},
oneditprepare: function() {
if (this.credentials.global) {