Recover of needed code, dropped by mistake.

This commit is contained in:
Martin Edenhofer 2016-02-25 08:07:02 +01:00
parent b4ebef16a9
commit 17b171496c

View file

@ -59,6 +59,7 @@ var originalShow = $.fn.popover.Constructor.prototype.show;
$.fn.popover.Constructor.prototype.show = function(){
originalShow.call(this);
var maxHeight = $(this.options.viewport.selector).height() - 2 * this.options.viewport.padding;
// improved error handling - no exeption if no $tip exists
if (!this.$tip) {
return