Ox.Label: don't fail if title is undefined

This commit is contained in:
rolux 2013-11-16 00:23:23 +01:00
parent 3cbacd85ff
commit 5b492db461

View file

@ -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;