Recover of needed code, dropped by mistake.
This commit is contained in:
parent
b4ebef16a9
commit
17b171496c
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ var originalShow = $.fn.popover.Constructor.prototype.show;
|
||||||
$.fn.popover.Constructor.prototype.show = function(){
|
$.fn.popover.Constructor.prototype.show = function(){
|
||||||
originalShow.call(this);
|
originalShow.call(this);
|
||||||
|
|
||||||
|
var maxHeight = $(this.options.viewport.selector).height() - 2 * this.options.viewport.padding;
|
||||||
// improved error handling - no exeption if no $tip exists
|
// improved error handling - no exeption if no $tip exists
|
||||||
if (!this.$tip) {
|
if (!this.$tip) {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue