Permalink
Browse files

Merge branch 'master' of github.com:briancray/tooltipsy

  • Loading branch information...
2 parents 974f4ed + 4c56a39 commit 2646bbd3b4e2d2a47767552fd53293f445a9a14e Brian Cray committed Sep 7, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 tooltipsy.source.js
View
@@ -135,8 +135,9 @@
$.tooltipsy.prototype.readify = function () {
this.ready = true;
this.$tipsy = $('<div id="tooltipsy' + this.random + '" style="position:absolute;z-index:2147483647;display:none">').appendTo('body');
- this.$tip = $('<div class="' + this.settings.className + '">').appendTo(this.$tipsy).html(this.settings.content != '' ? this.settings.content : this.title);
+ this.$tip = $('<div class="' + this.settings.className + '">').appendTo(this.$tipsy);
this.$tip.data('rootel', this.$el);
+ this.$tip.html(this.settings.content != '' ? this.settings.content(this.$el) : this.title);
};
$.tooltipsy.prototype.offset = function (el) {

0 comments on commit 2646bbd

Please sign in to comment.