Use the correct variable, works better

This commit is contained in:
Nathan Gray 2012-04-30 23:22:48 +00:00
parent 725e8c25ac
commit 56c9f5bcea

View File

@ -823,7 +823,7 @@ var et2_link_string = et2_valueWidget.extend([et2_IDetachedDOM], {
this.list = $j(document.createElement("ul"))
.addClass("et2_link_string");
if(this.options['class']) this.node.addClass(this.options['class']);
if(this.options['class']) this.list.addClass(this.options['class']);
this.setDOMNode(this.list[0]);
},