diff options
author | Olivier Paroz <github@oparoz.com> | 2015-07-29 18:10:38 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-07-29 18:10:38 +0300 |
commit | 0069023cc9d900e63cb398bc97dcd8b8d0f20dd5 (patch) | |
tree | d37b3a1cf12459aa8a2130c0d25ccd90d369879a /js | |
parent | fb1eea3e3ecb206ebd415d8f5428c0cbda170ffe (diff) |
Replace tipsy with tooltip
Diffstat (limited to 'js')
-rw-r--r-- | js/breadcrumb.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/js/breadcrumb.js b/js/breadcrumb.js index 3d6f67f7..7e116a1a 100644 --- a/js/breadcrumb.js +++ b/js/breadcrumb.js @@ -82,7 +82,6 @@ * Clears the breadcrumbs and its tooltip */ _clear: function () { - $('.tipsy:last').remove(); this.breadcrumbsElement.children().remove(); }, @@ -164,10 +163,12 @@ // If we had to hide crumbs, we'll add a pay to go to the parent folder if (shorten) { crumbElement = this._push('...', ellipsisPath); - crumbElement.attr('title', ellipsisPath).tipsy({ + crumbElement.attr('title', ellipsisPath).tooltip({ fade: true, - gravity: 'nw', - delayOut: 5 + placement: 'bottom', + delay: { + hide: 5 + } }); } } |