From af58f57153d3816129e4a01a268c82aa875d7490 Mon Sep 17 00:00:00 2001 From: jasoncypret Date: Fri, 27 Feb 2015 13:05:43 -0600 Subject: [PATCH] Fixed popover calculation --- lib/expressionui/version.rb | 2 +- vendor/assets/javascripts/expressionui.popover.js.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/expressionui/version.rb b/lib/expressionui/version.rb index eb18306..6145c4c 100755 --- a/lib/expressionui/version.rb +++ b/lib/expressionui/version.rb @@ -1,3 +1,3 @@ module Expressionui - VERSION = "0.1.8.5" + VERSION = "0.1.8.6" end diff --git a/vendor/assets/javascripts/expressionui.popover.js.coffee b/vendor/assets/javascripts/expressionui.popover.js.coffee index 6b255df..55d9c12 100755 --- a/vendor/assets/javascripts/expressionui.popover.js.coffee +++ b/vendor/assets/javascripts/expressionui.popover.js.coffee @@ -78,7 +78,7 @@ else options.position_left += (options.outter_width / 2) if options.position_top is null - options.position_top = jQuery(this).offset().top + (options.outter_height / 2) + options.position_top = jQuery(this).offset().top + (options.outter_height / 2) - jQuery(options.scroll_target).scrollTop() else options.position_top += (options.outter_height / 2)