From 266a0fa9dfe9b933dcc2b261ee523aa441015615 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 28 May 2012 21:03:48 +0000 Subject: [PATCH] fix tooltip --- source/Ox.UI/js/Window/Tooltip.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Ox.UI/js/Window/Tooltip.js b/source/Ox.UI/js/Window/Tooltip.js index dada6f03..dcb2e457 100644 --- a/source/Ox.UI/js/Window/Tooltip.js +++ b/source/Ox.UI/js/Window/Tooltip.js @@ -20,8 +20,8 @@ Ox.Tooltip = function(options, self) { .options(options || {}) .update({ title: function() { - that.html(value); - value === '' && that.detach(); + that.html(self.options.title); + self.options.title === '' && that.detach(); } }) .addClass('OxTooltip')