Tooltip/Popover cross document broken in 3.2.0
Created by: morille
Creating popovers inside iframes from the main frame is broken by the logic inside "Tooltip.prototype.show", that deduces its detached from Dom:
var inDom = $.contains(document.documentElement, this.$element[0])
This may use the element.ownerDocument property instead of the global document object:
var inDom = $.contains(this.$element[0].ownerDocument.documentElement, this.$element[0])