aboutsummaryrefslogtreecommitdiff
path: root/js/src/tooltip.js
AgeCommit message (Collapse)AuthorFilesLines
2015-12-08Update version numbers using npm scriptChris Rebert1-1/+1
Errata from: * 8ce5da30260c1368ae97838fcf010375071a7243 * 5d3144e8fb5c7202991b7614d77dfc00903fcb2e which missed a few numbers. [skip sauce] [skip validator]
2015-12-08manually bump versions because npm script wasn't working for meMark Otto1-1/+1
2015-12-05Fix version numbers is JS files; fixes #18435Chris Rebert1-2/+2
[skip sauce] [skip validator]
2015-11-14add undefined for nowJacob Thornton1-1/+1
2015-11-14add explicit error for lack of tether in tooltips - fixes #17273Jacob Thornton1-0/+8
2015-11-14Merge branch 'v4-dev' of https://github.com/lincolndbryant/bootstrap into ↵Jacob Thornton1-18/+7
lincolndbryant-v4-dev
2015-11-03Add eslint no-undef rule and resolve errorsJon Tewksbury1-0/+2
2015-10-02Add throw error for undefined method on pluginsJohann-S1-0/+3
2015-08-31Accept elements as the tooltip / popover contentGleb Mazovetskiy1-6/+20
When a DOM node is passed to an HTML tooltip, the `title` node is only moved if it is not already in the tooltip. Otherwise, `empty()` is used instead of `detach()` before appending the `title` to avoid memory leaks. If a DOM node is passed to a plain text tooltip, its text is copied via jQuery `.text()`. Replaces `.detach()` with `.empty()`, as `.detach()` is almost never useful but instead leaks memory. The difference between `empty` and `detach` is that the latter keeps all the attached jQuery events/data. However, since we do not return the previous children, the user would have to keep these themselves, thus they can `detach()` if necessary. This is a port of https://github.com/twbs/bootstrap/pull/14552 to v4.
2015-08-26fixes #17097: Go back to using jQuery's text and html methods since ↵Jelle Versele1-2/+2
innerText is nonstandard and not present in Firefox Closes #17272 by merging a tweaked version of it. [skip validator]
2015-08-20_removeTetherClasses is no longer referencedlbryant1-6/+0
2015-08-20use Tether addTargetClasses: false option instead of manually removing themlbryant1-12/+7
2015-08-18js tests passing + eslintJacob Thornton1-19/+23
2015-05-13add simple type checker implementationfat1-1/+24
2015-05-13implement global dispose methodfat1-20/+33
2015-05-12grunt test-js, grunt dist-js now workingfat1-3/+3
2015-05-12popover passing as wellfat1-107/+84
2015-05-11rewritten tooltip + tether integration and death to our positioner jankfat1-0/+619