Ox.Label: don't fail if title is undefined
This commit is contained in:
parent
3cbacd85ff
commit
5b492db461
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ Ox.Label = function(options, self) {
|
|||
}, {
|
||||
textAlign: self.options.textAlign
|
||||
}))
|
||||
.html(self.options.title);
|
||||
.html(Ox.isUndefined(self.options.title) ? '' : self.options.title);
|
||||
|
||||
return that;
|
||||
|
||||
|
|
Loading…
Reference in a new issue