1. 02 Sep, 2015 23 commits
  2. 01 Sep, 2015 6 commits
  3. 31 Aug, 2015 2 commits
    • Gleb Mazovetskiy's avatar
      Merge pull request #17402 from twbs/pr-14552-v4 · 33a510c6
      Gleb Mazovetskiy authored
      Accept elements as the tooltip / popover content
      33a510c6
    • Gleb Mazovetskiy's avatar
      Accept elements as the tooltip / popover content · c7d8e7a0
      Gleb Mazovetskiy authored
      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.
      c7d8e7a0
  4. 30 Aug, 2015 2 commits
  5. 29 Aug, 2015 7 commits