fix tooltip

This commit is contained in:
j 2012-05-28 21:03:48 +00:00
parent 91e1065aab
commit 266a0fa9df

View file

@ -20,8 +20,8 @@ Ox.Tooltip = function(options, self) {
.options(options || {}) .options(options || {})
.update({ .update({
title: function() { title: function() {
that.html(value); that.html(self.options.title);
value === '' && that.detach(); self.options.title === '' && that.detach();
} }
}) })
.addClass('OxTooltip') .addClass('OxTooltip')