Remove popover content with .children().detach() instead of .empty() so it can be reused
Use .end() to remove extra line
Merge pull request #14244 from programcsharp/master

Remove popover content with .children().detach() instead of .empty()