Skip to content

Commit

Permalink
return this after setText() in Label
Browse files Browse the repository at this point in the history
  • Loading branch information
KILL3RTACO committed Jun 26, 2016
1 parent b594762 commit 70ff097
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dist/js/lib/wwt.js
Original file line number Diff line number Diff line change
Expand Up @@ -940,8 +940,9 @@
root.util.validateString("text", text);
this.__text = text;
if (update) {
return this.update();
this.update();
}
return this;
};

Label.prototype.getText = function() {
Expand Down
Loading

0 comments on commit 70ff097

Please sign in to comment.